curly wars / auto-indentation
[oweals/gnunet.git] / src / nat / test_nat_test.c
index 1b4d1bc1d222d35e556e52a172d587ad89e6336e..c080e8ff3282536944e4c6cfa277a990fc7dc824 100644 (file)
@@ -31,7 +31,7 @@
 #include "gnunet_nat_lib.h"
 
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_EXTRA_LOGGING
 
 
 /**
@@ -109,16 +109,11 @@ main (int argc, char *const argv[])
                     NULL);
 
   nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server");
-  if (GNUNET_NO == nat_res)
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
-                "gnunet-nat-server", "SUID not set");
-    return 0;
-  }
   if (GNUNET_SYSERR == nat_res)
   {
-    GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
-                "gnunet-nat-server", "file not found");
+    GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                "Cannot run NAT test: `%s' file not found\n",
+                "gnunet-nat-server");
     return 0;
   }