diff options
-rw-r--r-- | other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c index 134346a1..8944993c 100644 --- a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c +++ b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c | |||
@@ -273,7 +273,7 @@ next: | |||
273 | // returns 1 on success | 273 | // returns 1 on success |
274 | // 0 on failure | 274 | // 0 on failure |
275 | 275 | ||
276 | int is_conencted(DHT *dht, int port, int enable_lan_discovery) | 276 | int is_connected(DHT *dht, int port, int enable_lan_discovery) |
277 | { | 277 | { |
278 | uint16_t htons_port = htons(port); | 278 | uint16_t htons_port = htons(port); |
279 | 279 | ||
@@ -382,7 +382,7 @@ int main(int argc, char *argv[]) | |||
382 | return 1; | 382 | return 1; |
383 | } | 383 | } |
384 | 384 | ||
385 | if (is_conencted(dht, port, enable_lan_discovery)) { | 385 | if (is_connected(dht, port, enable_lan_discovery)) { |
386 | syslog(LOG_INFO, "Successfully connected to DHT\n"); | 386 | syslog(LOG_INFO, "Successfully connected to DHT\n"); |
387 | } else { | 387 | } else { |
388 | syslog(LOG_ERR, "Couldn't connect to the DHT. Check settings and network connections. Exiting.\n"); | 388 | syslog(LOG_ERR, "Couldn't connect to the DHT. Check settings and network connections. Exiting.\n"); |