diff options
author | lurchi <lurchi@strangeplace.net> | 2018-06-24 23:31:07 +0200 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2018-06-24 23:31:07 +0200 |
commit | c38455c65f9968ccf7e870c3cce30fa19f319376 (patch) | |
tree | 523075af0d81a9f460d60b90b51557ad83bd5b42 /src/util/test_resolver_api.c | |
parent | 92e03f9117f5dc29909d73707897d28d8e27e048 (diff) | |
download | gnunet-c38455c65f9968ccf7e870c3cce30fa19f319376.tar.gz gnunet-c38455c65f9968ccf7e870c3cce30fa19f319376.zip |
use the asynchronous DNS resolution API (getaddrinfo_a) in the resolver module
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r-- | src/util/test_resolver_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index c89fad865..5a8f95093 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c | |||
@@ -258,6 +258,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
258 | /* Resolve the same using GNUNET */ | 258 | /* Resolve the same using GNUNET */ |
259 | GNUNET_RESOLVER_ip_get (ROOTSERVER_NAME, AF_INET, timeout, | 259 | GNUNET_RESOLVER_ip_get (ROOTSERVER_NAME, AF_INET, timeout, |
260 | &check_rootserver_ip, cls); | 260 | &check_rootserver_ip, cls); |
261 | GNUNET_RESOLVER_ip_get (ROOTSERVER_NAME, AF_INET, timeout, | ||
262 | &check_rootserver_ip, cls); | ||
261 | 263 | ||
262 | /* | 264 | /* |
263 | * Success: forward lookups work as expected | 265 | * Success: forward lookups work as expected |