diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2014-01-19 15:27:29 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2014-01-19 15:27:29 -0500 |
commit | d8f2072ab5e1a7e5a8a96db077d40cb28c1a9a24 (patch) | |
tree | a642aa7dd80e9d0e05d39dd094a80045b1def11e /other/bootstrap_serverdaemon | |
parent | 500acfce0b5be8292fe13ac4c9427773d6d27774 (diff) |
Fixed function conflict
Diffstat (limited to 'other/bootstrap_serverdaemon')
-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 8944993c..3c6d7b4e 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_connected(DHT *dht, int port, int enable_lan_discovery) | 276 | int try_connect(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_connected(dht, port, enable_lan_discovery)) { | 385 | if (try_connect(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"); |