From 797648bba5cbd88069542701465b2e903c8c6e49 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Thu, 29 Oct 2009 11:11:43 -0400 Subject: [PATCH] s3: Fix incorrect rc check of nscd_flush_cache. At least this only resulted in an incorrect debug message. (cherry picked from commit 62d94502ca3f92b663dd30aeec9a78fa42f54ce6) --- 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 f019bdd70bf..4feab3b8ace 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))); -- 2.11.4.GIT