aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index dae049eeb..b28c7c3e6 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -901,8 +901,7 @@ GNUNET_CONNECTION_create_from_connect (const struct
901 ret->write_buffer = GNUNET_malloc(ret->write_buffer_size); 901 ret->write_buffer = GNUNET_malloc(ret->write_buffer_size);
902 ret->port = port; 902 ret->port = port;
903 ret->hostname = GNUNET_strdup (hostname); 903 ret->hostname = GNUNET_strdup (hostname);
904 ret->dns_active = GNUNET_RESOLVER_ip_get (cfg, 904 ret->dns_active = GNUNET_RESOLVER_ip_get (ret->hostname,
905 ret->hostname,
906 AF_UNSPEC, 905 AF_UNSPEC,
907 GNUNET_CONNECTION_CONNECT_RETRY_TIMEOUT, 906 GNUNET_CONNECTION_CONNECT_RETRY_TIMEOUT,
908 &try_connect_using_address, ret); 907 &try_connect_using_address, ret);