about summary refs log tree commit diff
path: root/nscd/cache.c
diff options
context:
space:
mode:
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;
 	    }
 	}