summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 1273677b6..f9262f424 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -253,7 +253,7 @@ static int send_from_fifo(int fd)
return 0;
}
#else
- len=write(fd,session[fd]->wdata,session[fd]->wdata_size);
+ len=send(fd, session[fd]->wdata, session[fd]->wdata_size, MSG_NOSIGNAL);
if (len == -1)
{
if (errno == ECONNABORTED)