aboutsummaryrefslogtreecommitdiff
path: root/src/nat
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
parent8439fe12f24ab3ae5a1821face2b79d443fa044e (diff)
downloadgnunet-147d72a99e4ed0558c98fe7c9c41062ede51a68a.tar.gz
gnunet-147d72a99e4ed0558c98fe7c9c41062ede51a68a.zip
cleanup API for get_hello and get_hello_cancel
Diffstat (limited to 'src/nat')
-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