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