* nscd/connections.c (restart): Fix condition.
2008-01-05  Jakub Jelinek  <jakub@redhat.com>

	[BZ #5112]
	* nscd/connections.c (restart): Fix condition.
This commit is contained in:
Jakub Jelinek 2008-01-05 09:08:03 +00:00
parent 8726a12e05
commit 0fbfe2f7d8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-05 Jakub Jelinek <jakub@redhat.com>
[BZ #5112]
* nscd/connections.c (restart): Fix condition.
2008-01-03 Jakub Jelinek <jakub@redhat.com>
* ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc,

View File

@ -1,5 +1,6 @@
/* Inner loops of cache daemon.
Copyright (C) 1998-2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
Copyright (C) 1998-2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@ -1297,7 +1298,7 @@ cannot change to old working directory: %s; disabling paranoia mode"),
/* Synchronize memory. */
for (int cnt = 0; cnt < lastdb; ++cnt)
if (!dbs[cnt].enabled)
if (dbs[cnt].enabled)
{
/* Make sure nobody keeps using the database. */
dbs[cnt].head->timestamp = 0;