diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-10-01 11:40:33 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-10-01 11:40:33 -0400 |
commit | 1b2c663812cb69610aac073fe2cd786dcc8f5d5c (patch) | |
tree | ed0afd6e242055004330ada5579635b4465fdd3d /src | |
parent | 22ae70e2098b8c819075f9d988613d70c7fc8ac9 (diff) | |
download | slapi-nis-1b2c663812cb69610aac073fe2cd786dcc8f5d5c.tar.gz slapi-nis-1b2c663812cb69610aac073fe2cd786dcc8f5d5c.tar.xz slapi-nis-1b2c663812cb69610aac073fe2cd786dcc8f5d5c.zip |
Use MSG_NOSIGNAL when sending a request to portmap
Diffstat (limited to 'src')
-rw-r--r-- | src/portmap.c | 2 |
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, |