* nscd/connections.c (nscd_run): Call setup_thread only for enabled
	databases.
This commit is contained in:
Ulrich Drepper 2004-09-11 20:48:01 +00:00
parent 5a617b9e75
commit 72ae1e97d0
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-09-11 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (nscd_run): Call setup_thread only for enabled
databases.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.
2004-09-10 Ulrich Drepper <drepper@redhat.com>

View File

@ -772,7 +772,7 @@ nscd_run (void *p)
time_t next_prune = run_prune ? time (NULL) + CACHE_PRUNE_INTERVAL : 0;
static unsigned long int nready;
if (my_number < lastdb)
if (run_prune)
setup_thread (&dbs[my_number]);
conn.fd = sock;