summaryrefslogtreecommitdiff
path: root/source3/smbd/statcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 7b8701337f..7b2916bb9a 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -247,5 +247,6 @@ BOOL reset_stat_cache( void )
return hash_table_init( &stat_cache, INIT_STAT_CACHE_SIZE, (compare_function)(strcmp));
}
hash_clear(&stat_cache);
- return True;
+ return hash_table_init( &stat_cache, INIT_STAT_CACHE_SIZE, (compare_function)(strcmp));
+
} /* reset_stat_cache */