aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
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 @@
50 * Should we print (interesting|debug) messages that can happen during 50 * Should we print (interesting|debug) messages that can happen during
51 * normal operation? 51 * normal operation?
52 */ 52 */
53#define DEBUG GNUNET_YES 53#define DEBUG GNUNET_NO
54 54
55/** 55/**
56 * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE) 56 * Maximum size of a GNUnet message (GNUNET_SERVER_MAX_MESSAGE_SIZE)
@@ -360,10 +360,6 @@ run (int fd_tun)
360 /* write refers to reading from stdin, writing to fd_tun */ 360 /* write refers to reading from stdin, writing to fd_tun */
361 int write_open = 1; 361 int write_open = 1;
362 362
363 /* FIXME: this should work with '&&', but then 2/5 VPN
364 tests fail. With '||' the tests pass, but this process
365 keeps running --- but only for the 'GNS' test ---
366 even though the stdout is closed :-(. Very confusing. */
367 while ((1 == read_open) && (1 == write_open)) 363 while ((1 == read_open) && (1 == write_open))
368 { 364 {
369 FD_ZERO (&fds_w); 365 FD_ZERO (&fds_w);
@@ -569,8 +565,6 @@ main (int argc, char **argv)
569 int fd_tun; 565 int fd_tun;
570 int global_ret; 566 int global_ret;
571 567
572 fprintf (stderr,
573 "VPN helper running!\n");
574 if (6 != argc) 568 if (6 != argc)
575 { 569 {
576 fprintf (stderr, "Fatal: must supply 5 arguments!\n"); 570 fprintf (stderr, "Fatal: must supply 5 arguments!\n");