From ed3d086058cff03fd3523a9cfc0e17dd66a2c7ab Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 28 May 2015 13:40:39 +0000 Subject: -fix debug logic --- src/vpn/gnunet-helper-vpn.c | 8 +------- 1 file changed, 1 insertion(+), 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"); -- cgit v1.2.3