add function conv param string
[oweals/gnunet.git] / src / vpn / gnunet-helper-vpn.c
index 0ac398d538d5318feed833ec17b49e9209df25af..0519680ebee988e978c66fe0256f2460fbd133f1 100644 (file)
@@ -14,8 +14,8 @@
 
      You should have received a copy of the GNU General Public License
      along with GNUnet; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 
 /**
@@ -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);
@@ -547,7 +543,6 @@ PROCESS_BUFFER:
       }
     }
   }
-  fprintf (stderr, "Existing select() loop\n");
 }
 
 
@@ -569,8 +564,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");