SHA256
1
0
forked from pool/glibc
glibc/glibc-nscd-prune-ret.diff

14 lines
376 B
Diff
Raw Normal View History

Index: nscd/cache.c
===================================================================
--- nscd/cache.c.orig
+++ nscd/cache.c
@@ -290,7 +290,7 @@ prune_cache (struct database_dyn *table,
/* now == 0 means just check for changed files */
if (now == (time_t)0)
- return;
+ return 0;
/* We run through the table and find values which are not valid anymore.