diff options
author | GDR! <gdr@go2.pl> | 2014-12-11 22:24:16 +0100 |
---|---|---|
committer | GDR! <gdr@go2.pl> | 2014-12-11 22:24:16 +0100 |
commit | 946e3fa1907217a0717978ac98b32ce1ee7c23ac (patch) | |
tree | 149080f9e117eaaabd75f9d3eb953758559ed9f5 /main.c | |
parent | 169a478762d6863782395acff8c9f53b733048f5 (diff) |
Fixed server-side SIGPIPE
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |