[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35817 - in gnunet/src: exit vpn
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35817 - in gnunet/src: exit vpn |
Date: |
Tue, 26 May 2015 17:04:57 +0200 |
Author: grothoff
Date: 2015-05-26 17:04:57 +0200 (Tue, 26 May 2015)
New Revision: 35817
Modified:
gnunet/src/exit/gnunet-helper-exit.c
gnunet/src/vpn/gnunet-helper-vpn.c
Log:
-exit helper when either direction breaks
Modified: gnunet/src/exit/gnunet-helper-exit.c
===================================================================
--- gnunet/src/exit/gnunet-helper-exit.c 2015-05-26 11:17:32 UTC (rev
35816)
+++ gnunet/src/exit/gnunet-helper-exit.c 2015-05-26 15:04:57 UTC (rev
35817)
@@ -451,7 +451,7 @@
/* write refers to reading from stdin, writing to fd_tun */
int write_open = 1;
- while ((1 == read_open) || (1 == write_open))
+ while ((1 == read_open) && (1 == write_open))
{
FD_ZERO (&fds_w);
FD_ZERO (&fds_r);
Modified: gnunet/src/vpn/gnunet-helper-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-helper-vpn.c 2015-05-26 11:17:32 UTC (rev 35816)
+++ gnunet/src/vpn/gnunet-helper-vpn.c 2015-05-26 15:04:57 UTC (rev 35817)
@@ -360,7 +360,7 @@
/* write refers to reading from stdin, writing to fd_tun */
int write_open = 1;
- while ((1 == read_open) || (1 == write_open))
+ while ((1 == read_open) && (1 == write_open))
{
FD_ZERO (&fds_w);
FD_ZERO (&fds_r);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35817 - in gnunet/src: exit vpn,
gnunet <=