From a6f8b3403ad79d6e7823637e48a5118ca5731f72 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 1 Apr 2010 11:18:27 +0000 Subject: [PATCH] --- src/util/test_resolver_api.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index 5802370e3..3b41477bd 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c @@ -266,7 +266,7 @@ run(void *cls, struct GNUNET_SCHEDULER_Handle *sched, char * const *args, = gethostbyaddr(&rootserver_addr, sizeof(rootserver_addr), AF_INET); if (rootserver == NULL) { - /* Error: resolving ip addresses does not work */ + /* Error: resolving IP addresses does not work */ #if DEBUG_RESOLVER GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _("gethostbyaddr() could not lookup hostname: %s\n"), @@ -274,14 +274,16 @@ run(void *cls, struct GNUNET_SCHEDULER_Handle *sched, char * const *args, #endif GNUNET_break(0); } - - if (0 != strcmp(rootserver->h_name, ROOTSERVER_NAME)) + else + { + if (0 != strcmp(rootserver->h_name, ROOTSERVER_NAME)) { #if DEBUG_RESOLVER GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received hostname and hostname for root name server differ\n"); #endif GNUNET_break(0); } + } #if DEBUG_RESOLVER GNUNET_log (GNUNET_ERROR_TYPE_INFO, "System's own reverse name resolution is working\n"); -- 2.25.1