From f88ab1b1515b248dde4674caf602c04b40c46055 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Thu, 29 Oct 2009 11:11:43 -0400 Subject: s3: Fix incorrect rc check of nscd_flush_cache. At least this only resulted in an incorrect debug message. --- source3/lib/util_nscd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util_nscd.c b/source3/lib/util_nscd.c index f019bdd70b..4feab3b8ac 100644 --- a/source3/lib/util_nscd.c +++ b/source3/lib/util_nscd.c @@ -22,7 +22,7 @@ static void smb_nscd_flush_cache(const char *service) { #ifdef HAVE_NSCD_FLUSH_CACHE - if (!nscd_flush_cache(service)) { + if (nscd_flush_cache(service)) { DEBUG(10,("failed to flush nscd cache for '%s' service: %s. " "Is nscd running?\n", service, strerror(errno))); -- cgit