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/Messenger_test.c | |
parent | ed9beef61c5713db6083a165f3c7d56d7f06186e (diff) |
Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`.
Diffstat (limited to 'testing/Messenger_test.c')
-rw-r--r-- | testing/Messenger_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c index 70ee6578..5abb3998 100644 --- a/testing/Messenger_test.c +++ b/testing/Messenger_test.c | |||
@@ -92,7 +92,7 @@ static void print_request(Messenger *m2, const uint8_t *public_key, const uint8_ | |||
92 | int main(int argc, char *argv[]) | 92 | int main(int argc, char *argv[]) |
93 | { | 93 | { |
94 | /* let user override default by cmdline */ | 94 | /* let user override default by cmdline */ |
95 | uint8_t ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; /* x */ | 95 | bool ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; /* x */ |
96 | int argvoffset = cmdline_parsefor_ipv46(argc, argv, &ipv6enabled); | 96 | int argvoffset = cmdline_parsefor_ipv46(argc, argv, &ipv6enabled); |
97 | 97 | ||
98 | if (argvoffset < 0) { | 98 | if (argvoffset < 0) { |