aboutsummaryrefslogtreecommitdiff
path: root/src/exit
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit')
-rw-r--r--src/exit/gnunet-helper-exit.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c
index e68c10c33..90a3fc0e5 100644
--- a/src/exit/gnunet-helper-exit.c
+++ b/src/exit/gnunet-helper-exit.c
@@ -503,7 +503,9 @@ run (int fd_tun)
503 MAX_SIZE - sizeof (struct GNUNET_MessageHeader)); 503 MAX_SIZE - sizeof (struct GNUNET_MessageHeader));
504 if (-1 == buftun_size) 504 if (-1 == buftun_size)
505 { 505 {
506 fprintf (stderr, "read-error: %s\n", strerror (errno)); 506 fprintf (stderr,
507 "read-error: %s\n",
508 strerror (errno));
507 shutdown (fd_tun, SHUT_RD); 509 shutdown (fd_tun, SHUT_RD);
508 shutdown (1, SHUT_WR); 510 shutdown (1, SHUT_WR);
509 read_open = 0; 511 read_open = 0;
@@ -538,7 +540,9 @@ run (int fd_tun)
538#if !DEBUG 540#if !DEBUG
539 if (errno != EPIPE) 541 if (errno != EPIPE)
540#endif 542#endif
541 fprintf (stderr, "write-error to stdout: %s\n", strerror (errno)); 543 fprintf (stderr,
544 "write-error to stdout: %s\n",
545 strerror (errno));
542 shutdown (fd_tun, SHUT_RD); 546 shutdown (fd_tun, SHUT_RD);
543 shutdown (1, SHUT_WR); 547 shutdown (1, SHUT_WR);
544 read_open = 0; 548 read_open = 0;