diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-11 20:48:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-11 20:48:01 +0000 |
commit | 72ae1e97d03be3fba0c1a85137e65b9bdc066f27 (patch) | |
tree | b0e90ef67d2a206b4c9cf700d9655e8aabf2b254 /nscd/connections.c | |
parent | 5a617b9e75e048ff53d272ec2071840f3356a2c3 (diff) | |
download | glibc-72ae1e97d03be3fba0c1a85137e65b9bdc066f27.tar glibc-72ae1e97d03be3fba0c1a85137e65b9bdc066f27.tar.gz glibc-72ae1e97d03be3fba0c1a85137e65b9bdc066f27.tar.bz2 glibc-72ae1e97d03be3fba0c1a85137e65b9bdc066f27.zip |
Update.
* nscd/connections.c (nscd_run): Call setup_thread only for enabled
databases.
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index 11be7c3d0c..b95ab05b3a 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -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; |