adding new GNUNET_HELPER_ API for communication with (SUID) helper binaries via stdin...
[oweals/gnunet.git] / src / util / test_resolver_api.c
index 563f204ebacdf26cfb2504d5b7a445e64e71b8db..75140f8d5926c0ab70fed64ca0b9229eb02fc732 100644 (file)
@@ -30,9 +30,9 @@
 #include "gnunet_resolver_service.h"
 #include "resolver.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_EXTRA_LOGGING
 
-/** 
+/**
  * Using DNS root servers to check gnunet's resolver service
  * a.root-servers.net <-> 198.41.0.4 is a fix 1:1 mapping that should not change over years
  * For more information have a look at IANA's website http://www.root-servers.org/
@@ -264,8 +264,8 @@ run (void *cls, char *const *args, const char *cfgfile,
                 _("gethostbyname() could not lookup IP address: %s\n"),
                 hstrerror (h_errno));
 #endif
-    fprintf (stderr,
-             "System seems to be off-line, will not run all DNS tests\n");
+    FPRINTF (stderr,
+             "System seems to be off-line, will not run all DNS tests\n", NULL);
     *ok = 0;                    /* mark test as passing anyway */
     return;
   }
@@ -422,7 +422,7 @@ check ()
   GNUNET_OS_process_close (proc);
   proc = NULL;
   if (ok != 0)
-    fprintf (stderr, "Missed some resolutions: %u\n", ok);
+    FPRINTF (stderr, "Missed some resolutions: %u\n", ok);
   return ok;
 }