summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 083582bb..884223ff 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -26,6 +26,7 @@
26#endif 26#endif
27 27
28#include "Messenger.h" 28#include "Messenger.h"
29#include "logger.h"
29 30
30#define __TOX_DEFINED__ 31#define __TOX_DEFINED__
31typedef struct Messenger Tox; 32typedef struct Messenger Tox;
@@ -788,6 +789,7 @@ int tox_isconnected(Tox *tox)
788 */ 789 */
789Tox *tox_new(uint8_t ipv6enabled) 790Tox *tox_new(uint8_t ipv6enabled)
790{ 791{
792 LOGGER_INIT(LOGGER_OUTPUT_FILE, LOGGER_LEVEL);
791 return new_messenger(ipv6enabled); 793 return new_messenger(ipv6enabled);
792} 794}
793 795