summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 68b1e6e9..80d64626 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -450,7 +450,7 @@ void tox_bootstrap_from_ip(void *tox, IP_Port ip_port, uint8_t *public_key)
450 DHT_bootstrap(m->dht, ip_port, public_key); 450 DHT_bootstrap(m->dht, ip_port, public_key);
451} 451}
452int tox_bootstrap_from_address(void *tox, const char *address, 452int tox_bootstrap_from_address(void *tox, const char *address,
453 uint8_t ipv6enabled, uint16_t port, uint8_t *public_key) 453 uint8_t ipv6enabled, uint16_t port, uint8_t *public_key)
454{ 454{
455 Messenger *m = tox; 455 Messenger *m = tox;
456 return DHT_bootstrap_from_address(m->dht, address, ipv6enabled, port, public_key); 456 return DHT_bootstrap_from_address(m->dht, address, ipv6enabled, port, public_key);