diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-16 10:09:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-16 10:09:47 +0000 |
commit | 007b8443b0cb0d67bf8b176a1a175ad4bc37f1f3 (patch) | |
tree | b42d56110ae349eb2977673690c072dcf75b32a4 /src/util/connection.c | |
parent | 94c41ff98d293d8c041c4bbbe8d19dbf8ccd6f3f (diff) | |
download | gnunet-007b8443b0cb0d67bf8b176a1a175ad4bc37f1f3.tar.gz gnunet-007b8443b0cb0d67bf8b176a1a175ad4bc37f1f3.zip |
resolver API change
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 3 |
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); |