diff options
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r-- | nscd/hstcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c index 377f023..29bce99 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -115,7 +115,8 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req, written = total = sizeof (notfound); if (fd != -1) - written = TEMP_FAILURE_RETRY (write (fd, ¬found, total)); + written = TEMP_FAILURE_RETRY (send (fd, ¬found, total, + MSG_NOSIGNAL)); dataset = mempool_alloc (db, sizeof (struct dataset) + req->key_len); /* If we cannot permanently store the result, so be it. */ |