summaryrefslogtreecommitdiff
path: root/toxdns/toxdns.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-23 16:34:06 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-23 16:34:06 -0400
commit1fd0f9295973893fdd03f5527bd3334f403f4b1d (patch)
treefa013d75b29da9fe3de53423252a3d2530ccc088 /toxdns/toxdns.c
parent139cfa7aebae49cadd14af875a8c0b52fc614877 (diff)
parent644135183f211164b466dafee210e41b073b926a (diff)
Merge branch 'notsecure-split-video'
Diffstat (limited to 'toxdns/toxdns.c')
-rw-r--r--toxdns/toxdns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxdns/toxdns.c b/toxdns/toxdns.c
index 3eafc3de..7a7a052d 100644
--- a/toxdns/toxdns.c
+++ b/toxdns/toxdns.c
@@ -26,6 +26,7 @@
26#endif 26#endif
27 27
28#include "../toxcore/Messenger.h" 28#include "../toxcore/Messenger.h"
29#include "../toxcore/logger.h"
29#include "toxdns.h" 30#include "toxdns.h"
30 31
31static const char base32[32] = {"abcdefghijklmnopqrstuvwxyz012345"}; 32static const char base32[32] = {"abcdefghijklmnopqrstuvwxyz012345"};
@@ -143,7 +144,7 @@ int tox_generate_dns3_string(void *dns3_object, uint8_t *string, uint16_t string
143 } 144 }
144 145
145 if (end_len != string - old_str) { 146 if (end_len != string - old_str) {
146 printf("tox_generate_dns3_string Fail, %u != %u\n", end_len, string - old_str); 147 LOGGER_ERROR("tox_generate_dns3_string Fail, %u != %lu\n", end_len, string - old_str);
147 return -1; 148 return -1;
148 } 149 }
149 150