summaryrefslogtreecommitdiff
path: root/nscd/hstcache.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-05-20 19:31:24 +0000
committerJakub Jelinek <jakub@redhat.com>2008-05-20 19:31:24 +0000
commite96fe50f0dd8d76fabfe139b46f059e3b2373b83 (patch)
tree50833fb9c0c5028eb88000d9dc7aa0e0b56b1747 /nscd/hstcache.c
parent21032d9230e840a1f8b89d43e1e8d63ccf7c6eae (diff)
Updated to fedora-glibc-20080520T1924cvs/fedora-glibc-2_8_90-4
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r--nscd/hstcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 3ceb6715ce..d4dd51f11a 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -156,7 +156,7 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req,
pthread_rwlock_rdlock (&db->lock);
(void) cache_add (req->type, &dataset->strdata, req->key_len,
- &dataset->head, true, db, owner);
+ &dataset->head, true, db, owner, he == NULL);
pthread_rwlock_unlock (&db->lock);
@@ -408,7 +408,7 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req,
|| req->type == GETHOSTBYADDRv6);
(void) cache_add (req->type, key_copy, req->key_len,
- &dataset->head, true, db, owner);
+ &dataset->head, true, db, owner, he == NULL);
pthread_rwlock_unlock (&db->lock);
}