aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_resolver_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r--src/util/test_resolver_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c
index 8b3f9c4bf..6af0cf4b8 100644
--- a/src/util/test_resolver_api.c
+++ b/src/util/test_resolver_api.c
@@ -235,7 +235,6 @@ run(void *cls, struct GNUNET_SCHEDULER_Handle *sched, char * const *args,
235 /* 235 /*
236 * Looking up our own hostname 236 * Looking up our own hostname
237 */ 237 */
238 own_hostname = GNUNET_malloc(GNUNET_OS_get_hostname_max_length() + 1);
239 own_hostname = GNUNET_RESOLVER_local_hostname_get(); 238 own_hostname = GNUNET_RESOLVER_local_hostname_get();
240 check_local_hostname( NULL, own_hostname); 239 check_local_hostname( NULL, own_hostname);
241 GNUNET_free (own_hostname); 240 GNUNET_free (own_hostname);