Add "notfound" data to cache, not iov pointer.

This commit is contained in:
Ulrich Drepper 1999-06-24 13:09:46 +00:00
parent 0c7163dc35
commit 150c1ed496
3 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,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);
pthread_rwlock_unlock (&db->lock);

View File

@ -115,7 +115,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);
pthread_rwlock_unlock (&db->lock);

View File

@ -111,7 +111,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);
pthread_rwlock_unlock (&db->lock);