summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-10-09 01:00:19 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-10-16 22:11:53 +0000
commit700accb3c78eb919d9c05eacad12cf3cbdb1a8a5 (patch)
tree4359ec7abf4b730d04fedb2d4f8956e1b3d3bcb1 /other
parented9beef61c5713db6083a165f3c7d56d7f06186e (diff)
Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`.
Diffstat (limited to 'other')
-rw-r--r--other/DHT_bootstrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index 9cbcca62..2c47ee8f 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
137 } 137 }
138 138
139 /* let user override default by cmdline */ 139 /* let user override default by cmdline */
140 uint8_t ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; /* x */ 140 bool ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; /* x */
141 int argvoffset = cmdline_parsefor_ipv46(argc, argv, &ipv6enabled); 141 int argvoffset = cmdline_parsefor_ipv46(argc, argv, &ipv6enabled);
142 142
143 if (argvoffset < 0) { 143 if (argvoffset < 0) {