summaryrefslogtreecommitdiff
path: root/src/nat/test_nat_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-02 11:21:00 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-02 11:21:00 +0000
commit147d72a99e4ed0558c98fe7c9c41062ede51a68a (patch)
treef712c8aa222e53dc3e299972f3144ad92b15b180 /src/nat/test_nat_test.c
parent8439fe12f24ab3ae5a1821face2b79d443fa044e (diff)
cleanup API for get_hello and get_hello_cancel
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[])
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");
+ 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)
+ 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' %s \n",
+ "gnunet-nat-server", "file not found");
return 0;
}