aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-24 13:08:20 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-24 13:08:20 +0000
commitd0db5f488d9a47947c49f728ca29077c0cff48b1 (patch)
treec6e132fdf05a3cee02a24e742629b0120ed28920 /nscd
parentd6a1bbed9be8572844eeab92eb1a7845b557f401 (diff)
downloadglibc-d0db5f488d9a47947c49f728ca29077c0cff48b1.zip
glibc-d0db5f488d9a47947c49f728ca29077c0cff48b1.tar.gz
glibc-d0db5f488d9a47947c49f728ca29077c0cff48b1.tar.bz2
Update.
1999-06-24 Thorsten Kukuk <kukuk@suse.de> * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. * nscd/pwdcache.c: Likewise. * nscd/hstcache.c: Likewise.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/grpcache.c2
-rw-r--r--nscd/hstcache.c2
-rw-r--r--nscd/pwdcache.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index 62f4c57..446e78e 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, &notfound,
sizeof (notfound), (void *) -1, 0, t, db, owner);
pthread_rwlock_unlock (&db->lock);
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 292d918..93b71a6 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, &notfound,
sizeof (notfound), (void *) -1, 0, t, db, owner);
pthread_rwlock_unlock (&db->lock);
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 2c4e6c7..95d6ec3 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, &notfound,
sizeof (notfound), (void *) -1, 0, t, db, owner);
pthread_rwlock_unlock (&db->lock);