diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/netgroupcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c index cd0c3ea..3ca96f8 100644 --- a/nscd/netgroupcache.c +++ b/nscd/netgroupcache.c @@ -584,6 +584,8 @@ addinnetgrX (struct database_dyn *db, int fd, request_header *req, dh->timeout = timeout; dh->ttl = dataset->head.ttl; ++dh->nreloads; + if (cacheable) + pthread_rwlock_unlock (&db->lock); return timeout; } |