diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 1507b2c5..d48de0d8 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -394,9 +394,13 @@ int tox_isconnected(void *tox) | |||
394 | * return allocated instance of tox on success. | 394 | * return allocated instance of tox on success. |
395 | * return 0 if there are problems. | 395 | * return 0 if there are problems. |
396 | */ | 396 | */ |
397 | void *tox_new_ex(uint8_t ipv6enabled) | ||
398 | { | ||
399 | return initMessenger(ipv6enabled); | ||
400 | } | ||
397 | void *tox_new(void) | 401 | void *tox_new(void) |
398 | { | 402 | { |
399 | return initMessenger(); | 403 | return tox_new_ex(0); |
400 | } | 404 | } |
401 | 405 | ||
402 | /* Run this before closing shop. | 406 | /* Run this before closing shop. |