summaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-28 13:40:39 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-28 13:40:39 +0000
commited3d086058cff03fd3523a9cfc0e17dd66a2c7ab (patch)
tree192706924a5c79d1a8602f5c3e5d7b5b402ab112 /src/vpn
parentff3cd09b02c06f9ac844bc1d0fd1bf525c565308 (diff)
-fix debug logic
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/gnunet-helper-vpn.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c
index 0ac398d53..ba77657a6 100644
--- a/src/vpn/gnunet-helper-vpn.c
+++ b/src/vpn/gnunet-helper-vpn.c
@@ -50,7 +50,7 @@
* Should we print (interesting|debug) messages that can happen during
* normal operation?
*/
-#define DEBUG GNUNET_YES
+#define DEBUG GNUNET_NO
/**
* Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE)
@@ -360,10 +360,6 @@ run (int fd_tun)
/* write refers to reading from stdin, writing to fd_tun */
int write_open = 1;
- /* FIXME: this should work with '&&', but then 2/5 VPN
- tests fail. With '||' the tests pass, but this process
- keeps running --- but only for the 'GNS' test ---
- even though the stdout is closed :-(. Very confusing. */
while ((1 == read_open) && (1 == write_open))
{
FD_ZERO (&fds_w);
@@ -569,8 +565,6 @@ main (int argc, char **argv)
int fd_tun;
int global_ret;
- fprintf (stderr,
- "VPN helper running!\n");
if (6 != argc)
{
fprintf (stderr, "Fatal: must supply 5 arguments!\n");