summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-12-12 23:01:37 +0000
committerJakub Jelinek <jakub@redhat.com>2007-12-12 23:01:37 +0000
commitc5899b63ebb80de72b909a475e1dd41b99a4080c (patch)
treecca8a316f938c282801963c9815852dd888cab83 /nscd
parent1716edfc192b29f8cec407e3eebfbe84e28f70e4 (diff)
downloadglibc-cvs/fedora-glibc-2_7_90-1.tar.gz
* sysdeps/unix/sysv/linux/kaio_read.c (aio_read64): Define tocvs/fedora-glibc-2_7_90-1
something else while including kaio_misc.h. * sysdeps/unix/sysv/linux/kaio_write.c (aio_write64): Likewise.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 3d98889eba..abd84b9b63 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1383,7 +1383,7 @@ nscd_run_prune (void *p)
time_t next_wait;
time_t now = time (NULL);
- if (e == ETIMEDOUT now >= dbs[my_number].wakeup_time)
+ if (e == ETIMEDOUT || now >= dbs[my_number].wakeup_time)
{
next_wait = prune_cache (&dbs[my_number], now, -1);
next_wait = MAX (next_wait, CACHE_PRUNE_INTERVAL);