diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-06-12 16:16:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-06-12 16:16:38 +0000 |
commit | 5a337776da5b7ff1dbbf0fdcd093a3b6af2cdf83 (patch) | |
tree | 90b83fdd99ba1c9c676a9bf2165732faccf0a088 /nscd/servicescache.c | |
parent | 9ad58cc3ba614e13af5a6f3810f9b115899eb2ca (diff) | |
download | glibc-5a337776da5b7ff1dbbf0fdcd093a3b6af2cdf83.tar.gz |
* nscd/grpcache.c (cache_addgr): Correctly compute size ofcvs/fedora-glibc-20080612T1619
fixed-size portion of the record.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
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 c952fa12c8..44f12a3c69 100644 --- a/nscd/servicescache.c +++ b/nscd/servicescache.c @@ -173,7 +173,7 @@ cache_addserv (struct database_dyn *db, int fd, request_header *req, total += s_aliases_len[cnt]; } - total += (sizeof (struct dataset) + total += (offsetof (struct dataset, strdata) + s_name_len + s_proto_len + s_aliases_cnt * sizeof (uint32_t)); |