summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGDR! <gdr@go2.pl>2014-12-11 22:24:16 +0100
committerGDR! <gdr@go2.pl>2014-12-11 22:24:16 +0100
commit946e3fa1907217a0717978ac98b32ce1ee7c23ac (patch)
tree149080f9e117eaaabd75f9d3eb953758559ed9f5 /main.c
parent169a478762d6863782395acff8c9f53b733048f5 (diff)
Fixed server-side SIGPIPE
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f564664..6d4ea36 100644
--- a/main.c
+++ b/main.c
@@ -388,7 +388,7 @@ int handle_client_tcp_frame(protocol_frame *rcvd_frame)
388 tun->sockfd, 388 tun->sockfd,
389 rcvd_frame->data + offset, 389 rcvd_frame->data + offset,
390 rcvd_frame->data_length - offset, 390 rcvd_frame->data_length - offset,
391 0 391 MSG_NOSIGNAL
392 ); 392 );
393 393
394 if(sent_bytes < 0) 394 if(sent_bytes < 0)