aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/servicescache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/servicescache.c b/nscd/servicescache.c
index ec5a367..d3d5dce 100644
--- a/nscd/servicescache.c
+++ b/nscd/servicescache.c
@@ -102,7 +102,7 @@ cache_addserv (struct database_dyn *db, int fd, request_header *req,
{
/* We have no data. This means we send the standard reply for this
case. */
- total = sizeof (notfound);
+ written = total = sizeof (notfound);
if (fd != -1)
written = TEMP_FAILURE_RETRY (send (fd, &notfound, total,