From d0db5f488d9a47947c49f728ca29077c0cff48b1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Jun 1999 13:08:20 +0000 Subject: Update. 1999-06-24 Thorsten Kukuk * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. * nscd/pwdcache.c: Likewise. * nscd/hstcache.c: Likewise. --- nscd/grpcache.c | 2 +- nscd/hstcache.c | 2 +- nscd/pwdcache.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nscd') diff --git a/nscd/grpcache.c b/nscd/grpcache.c index 62f4c573a6..446e78ed28 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -105,7 +105,7 @@ cache_addgr (struct database *db, int fd, request_header *req, void *key, /* Now get the lock to safely insert the records. */ pthread_rwlock_rdlock (&db->lock); - cache_add (req->type, copy, req->key_len, &iov_notfound, + cache_add (req->type, copy, req->key_len, ¬found, sizeof (notfound), (void *) -1, 0, t, db, owner); pthread_rwlock_unlock (&db->lock); diff --git a/nscd/hstcache.c b/nscd/hstcache.c index 292d9187e4..93b71a65d6 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -116,7 +116,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key, /* Now get the lock to safely insert the records. */ pthread_rwlock_rdlock (&db->lock); - cache_add (req->type, copy, req->key_len, &iov_notfound, + cache_add (req->type, copy, req->key_len, ¬found, sizeof (notfound), (void *) -1, 0, t, db, owner); pthread_rwlock_unlock (&db->lock); diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 2c4e6c722f..95d6ec3a6a 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -112,7 +112,7 @@ cache_addpw (struct database *db, int fd, request_header *req, void *key, /* Now get the lock to safely insert the records. */ pthread_rwlock_rdlock (&db->lock); - cache_add (req->type, copy, req->key_len, &iov_notfound, + cache_add (req->type, copy, req->key_len, ¬found, sizeof (notfound), (void *) -1, 0, t, db, owner); pthread_rwlock_unlock (&db->lock); -- cgit v1.2.3