diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-16 16:12:14 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-04-16 16:12:14 +0000 |
commit | 32d7de6a273bf581842e8580ee80fab27cd01859 (patch) | |
tree | 53d5be6ff80ee33fd55b395287fa4b17b09b0e53 /src/util/test_resolver_api.c | |
parent | 0ee6bc128826be422aa47de93638015805231866 (diff) | |
download | gnunet-32d7de6a273bf581842e8580ee80fab27cd01859.tar.gz gnunet-32d7de6a273bf581842e8580ee80fab27cd01859.zip |
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r-- | src/util/test_resolver_api.c | 1 |
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); |