diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-10-09 01:00:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-10-16 22:11:53 +0000 |
commit | 700accb3c78eb919d9c05eacad12cf3cbdb1a8a5 (patch) | |
tree | 4359ec7abf4b730d04fedb2d4f8956e1b3d3bcb1 /testing/misc_tools.h | |
parent | ed9beef61c5713db6083a165f3c7d56d7f06186e (diff) |
Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`.
Diffstat (limited to 'testing/misc_tools.h')
-rw-r--r-- | testing/misc_tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/misc_tools.h b/testing/misc_tools.h index e7060551..b9c3ca3e 100644 --- a/testing/misc_tools.h +++ b/testing/misc_tools.h | |||
@@ -15,7 +15,7 @@ void c_sleep(uint32_t x); | |||
15 | uint8_t *hex_string_to_bin(const char *hex_string); | 15 | uint8_t *hex_string_to_bin(const char *hex_string); |
16 | void to_hex(char *out, uint8_t *in, int size); | 16 | void to_hex(char *out, uint8_t *in, int size); |
17 | int tox_strncasecmp(const char *s1, const char *s2, size_t n); | 17 | int tox_strncasecmp(const char *s1, const char *s2, size_t n); |
18 | int cmdline_parsefor_ipv46(int argc, char **argv, uint8_t *ipv6enabled); | 18 | int cmdline_parsefor_ipv46(int argc, char **argv, bool *ipv6enabled); |
19 | 19 | ||
20 | void print_debug_log(Tox *m, Tox_Log_Level level, const char *file, uint32_t line, const char *func, | 20 | void print_debug_log(Tox *m, Tox_Log_Level level, const char *file, uint32_t line, const char *func, |
21 | const char *message, void *user_data); | 21 | const char *message, void *user_data); |