fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 30 Nov 2010 13:57:34 +0000 (13:57 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 30 Nov 2010 13:57:34 +0000 (13:57 +0000)
src/util/test_resolver_api.c

index bf2f8f00f8d707c2fbe4fc5a7898f13447180aea..3d1d54485bcc2cf36079be1a6c00c519698aeb58 100644 (file)
@@ -94,11 +94,9 @@ check_localhost(void *cls, const char *hostname)
     }
   else
     {
-#if DEBUG_RESOLVER
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-          "Received invalid hostname `%s'.\n", hostname);
-#endif
-      GNUNET_break(0);
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                 "Received unexpected hostname `%s', expected `localhost' (this could be OK).\n", 
+                 hostname);
     }
 }