summaryrefslogtreecommitdiff
path: root/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.c')
-rw-r--r--sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sockets.c b/sockets.c
index 5b4c0c2..2ed993e 100644
--- a/sockets.c
+++ b/sockets.c
@@ -226,7 +226,7 @@ int socksend(SSL *fd, char *buf, int bufsize, int tls) {
// Clear errno in case send() errors
errno = 0;
// Cast the supposed SSL *fd to a long int if we're not using TLS
- return send((long int)fd, buf, bufsize, MSG_NOSIGNAL); // MSG_NOSIGNAL so a bad send() can't SIGPIPE blabouncer
+ return send((long int)fd, buf, bufsize, 0);
}
}