git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184afaa
)
s3: Fix incorrect rc check of nscd_flush_cache.
author
Jim McDonough
<jmcd@samba.org>
Thu, 29 Oct 2009 15:11:43 +0000
(11:11 -0400)
committer
Jim McDonough
<jmcd@samba.org>
Thu, 29 Oct 2009 15:11:43 +0000
(11:11 -0400)
At least this only resulted in an incorrect debug message.
source3/lib/util_nscd.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_nscd.c
b/source3/lib/util_nscd.c
index f019bdd70bfa8a707c4156376ed5a484006f4b00..4feab3b8ace4c70825fae6ad9049b2dc42f117eb 100644
(file)
--- 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)));