diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-26 15:24:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-26 15:24:57 +0000 |
commit | fd40063b16d12f18145a583ef10b925feb8d57df (patch) | |
tree | 9dc937f0e0024d8be9aa5dd03a3f58c2f47ee86a /src/vpn/gnunet-helper-vpn.c | |
parent | dae4222c75b4879cf1524d4dc93bb6f023f468ca (diff) | |
download | gnunet-fd40063b16d12f18145a583ef10b925feb8d57df.tar.gz gnunet-fd40063b16d12f18145a583ef10b925feb8d57df.zip |
-note
Diffstat (limited to 'src/vpn/gnunet-helper-vpn.c')
-rw-r--r-- | src/vpn/gnunet-helper-vpn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 3bf0704f9..521aba0f8 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c | |||
@@ -360,6 +360,10 @@ 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. */ | ||
363 | while ((1 == read_open) || (1 == write_open)) | 367 | while ((1 == read_open) || (1 == write_open)) |
364 | { | 368 | { |
365 | FD_ZERO (&fds_w); | 369 | FD_ZERO (&fds_w); |