diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-08-14 22:20:09 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-08-14 22:20:09 -0400 |
commit | a60df2c3db52b66fd3190c92ad9bc9b972e0d1fc (patch) | |
tree | 233100710a65ce94fb600c558f47a2a0631ac90a /nscd/servicescache.c | |
parent | 73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4 (diff) | |
download | glibc-a60df2c3db52b66fd3190c92ad9bc9b972e0d1fc.zip glibc-a60df2c3db52b66fd3190c92ad9bc9b972e0d1fc.tar.gz glibc-a60df2c3db52b66fd3190c92ad9bc9b972e0d1fc.tar.bz2 |
Add missing initialization in service cache in nscd
Diffstat (limited to 'nscd/servicescache.c')
-rw-r--r-- | nscd/servicescache.c | 2 |
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, ¬found, total, |