summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-07 10:59:14 +0100
committerMichael Adam <obnox@samba.org>2008-01-07 10:59:14 +0100
commit696cf4d3c013f99d034c19c6762bf71c7c1ee8a6 (patch)
treedfd4e7423c253dade626da271c9d792ce2b4722d /source3/winbindd/winbindd.c
parentc4d3f1b0f5345086e18cb4740e7a0c4fa222089a (diff)
downloadsamba-696cf4d3c013f99d034c19c6762bf71c7c1ee8a6.tar.gz
samba-696cf4d3c013f99d034c19c6762bf71c7c1ee8a6.tar.bz2
samba-696cf4d3c013f99d034c19c6762bf71c7c1ee8a6.zip
Make wcache_invalidate_cache() return bool, not int.
Michael (This used to be commit dba24ceae78ffc49200b647838b6bf3657275add)
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index dfad50bf96..8ebae3f16d 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -121,7 +121,7 @@ static void flush_caches(void)
otherwise cached access denied errors due to restrict anonymous
hang around until the sequence number changes. */
- if (wcache_invalidate_cache() < 0) {
+ if (!wcache_invalidate_cache()) {
DEBUG(0, ("invalidating the cache failed; revalidate the cache\n"));
/* Close the cache to be able to valdite the cache */
close_winbindd_cache();