aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-04-15 15:00:53 +0000
committerChristian Grothoff <christian@grothoff.org>2013-04-15 15:00:53 +0000
commit8a6448fb4f4dbfab07995028ce8f2516c563cac3 (patch)
treeb73a10218990841af0d58f2e433752f8092c4aec /src/nat/nat.c
parent4e668e13d72a1fc55abfe69578c0486fdf02cd78 (diff)
downloadgnunet-8a6448fb4f4dbfab07995028ce8f2516c563cac3.tar.gz
gnunet-8a6448fb4f4dbfab07995028ce8f2516c563cac3.zip
-no boolean
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r--src/nat/nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c
index fd9d5eaa0..e1ec88028 100644
--- a/src/nat/nat.c
+++ b/src/nat/nat.c
@@ -1171,7 +1171,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp,
1171 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-server"); 1171 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-server");
1172 if ((h->behind_nat == GNUNET_YES) && (GNUNET_YES == h->enable_nat_server) && 1172 if ((h->behind_nat == GNUNET_YES) && (GNUNET_YES == h->enable_nat_server) &&
1173 (GNUNET_YES != 1173 (GNUNET_YES !=
1174 GNUNET_OS_check_helper_binary (binary, TRUE, NULL))) // FIXME: CF: add test-parameters 1174 GNUNET_OS_check_helper_binary (binary, GNUNET_YES, NULL))) // FIXME: CF: add test-parameters
1175 { 1175 {
1176 h->enable_nat_server = GNUNET_NO; 1176 h->enable_nat_server = GNUNET_NO;
1177 LOG (GNUNET_ERROR_TYPE_WARNING, 1177 LOG (GNUNET_ERROR_TYPE_WARNING,
@@ -1183,7 +1183,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp,
1183 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-client"); 1183 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-client");
1184 if ((GNUNET_YES == h->enable_nat_client) && 1184 if ((GNUNET_YES == h->enable_nat_client) &&
1185 (GNUNET_YES != 1185 (GNUNET_YES !=
1186 GNUNET_OS_check_helper_binary (binary, TRUE, NULL))) // FIXME: CF: add test-parameters 1186 GNUNET_OS_check_helper_binary (binary, GNUNET_YES, NULL))) // FIXME: CF: add test-parameters
1187 { 1187 {
1188 h->enable_nat_client = GNUNET_NO; 1188 h->enable_nat_client = GNUNET_NO;
1189 LOG (GNUNET_ERROR_TYPE_WARNING, 1189 LOG (GNUNET_ERROR_TYPE_WARNING,