summaryrefslogtreecommitdiff
path: root/other/bootstrap_serverdaemon
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2014-01-19 15:09:57 -0500
committerMaxim Biro <nurupo.contributions@gmail.com>2014-01-19 15:09:57 -0500
commit718b4415fc243cfb08a51daf15434bcc74e28cc2 (patch)
tree801e47003519527a725d8ec30f4ee7a33fce3418 /other/bootstrap_serverdaemon
parentbffc3d96e5a9c08d8457737cfd2cb2cb54c35670 (diff)
Fixed spelling
Diffstat (limited to 'other/bootstrap_serverdaemon')
-rw-r--r--other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.c4
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
276int is_conencted(DHT *dht, int port, int enable_lan_discovery) 276int 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");