aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/test_nat_test.c')
-rw-r--r--src/nat/test_nat_test.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c
index 5a716bd8e..1b4d1bc1d 100644
--- a/src/nat/test_nat_test.c
+++ b/src/nat/test_nat_test.c
@@ -111,18 +111,14 @@ main (int argc, char *const argv[])
111 nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server"); 111 nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server");
112 if (GNUNET_NO == nat_res) 112 if (GNUNET_NO == nat_res)
113 { 113 {
114 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 114 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
115 "Cannot run NAT test: `%s' %s \n", 115 "gnunet-nat-server", "SUID not set");
116 "gnunet-nat-server",
117 "SUID not set");
118 return 0; 116 return 0;
119 } 117 }
120 if (GNUNET_SYSERR == nat_res) 118 if (GNUNET_SYSERR == nat_res)
121 { 119 {
122 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 120 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n",
123 "Cannot run NAT test: `%s' %s \n", 121 "gnunet-nat-server", "file not found");
124 "gnunet-nat-server",
125 "file not found");
126 return 0; 122 return 0;
127 } 123 }
128 124