summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/portmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portmap.c b/src/portmap.c
index 1b0a30d..5b463c0 100644
--- a/src/portmap.c
+++ b/src/portmap.c
@@ -211,7 +211,7 @@ portmap_register_work(const char *module, int client_sock,
/* Try to send our request. If there's any problem,
* immediately retry. */
if (send(client_sock, &portmap_buf, portmap_length,
- 0) != portmap_length) {
+ MSG_NOSIGNAL) != portmap_length) {
slapi_log_error(SLAPI_LOG_FATAL, log_id,
"error sending request to portmap or "
"rpcbind on %d: %s\n", client_sock,