gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35833 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r35833 - gnunet/src/vpn
Date: Thu, 28 May 2015 15:40:39 +0200

Author: grothoff
Date: 2015-05-28 15:40:39 +0200 (Thu, 28 May 2015)
New Revision: 35833

Modified:
   gnunet/src/vpn/gnunet-helper-vpn.c
Log:
-fix debug logic

Modified: gnunet/src/vpn/gnunet-helper-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-helper-vpn.c  2015-05-28 13:39:31 UTC (rev 35832)
+++ gnunet/src/vpn/gnunet-helper-vpn.c  2015-05-28 13:40:39 UTC (rev 35833)
@@ -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 @@
   /* 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 @@
   int fd_tun;
   int global_ret;
 
-  fprintf (stderr,
-           "VPN helper running!\n");
   if (6 != argc)
   {
     fprintf (stderr, "Fatal: must supply 5 arguments!\n");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]