about summary refs log tree commit diff
path: root/nscd/cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-22 01:47:28 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-22 01:47:28 +0000
commitf3063fc72b54f9cbb4a6059ba18d09f95cc05fef (patch)
tree309b82c9e7a434edf7767e5df85b2e4fa7439947 /nscd/cache.c
parent4fb907b74125ddcfc6a6f06c999c1d3488061218 (diff)
downloadglibc-f3063fc72b54f9cbb4a6059ba18d09f95cc05fef.tar.gz
glibc-f3063fc72b54f9cbb4a6059ba18d09f95cc05fef.tar.xz
glibc-f3063fc72b54f9cbb4a6059ba18d09f95cc05fef.zip
(prune_cache): Print correct list when debugging.
Diffstat (limited to 'nscd/cache.c')
-rw-r--r--nscd/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/cache.c b/nscd/cache.c
index 10b04c3c02..446154880a 100644
--- a/nscd/cache.c
+++ b/nscd/cache.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 1998, 1999, 2003 Free Software Foundation, Inc.
+/* Copyright (c) 1998, 1999, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -271,7 +271,7 @@ prune_cache (struct database *table, time_t now)
 
 	      dbg_log ("remove %s entry \"%s\"", serv2str[runp->type], str);
 
-	      runp = runp->next;
+	      runp = runp->dellist;
 	    }
 	}