summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-04 01:45:59 +0000
committerTim Potter <tpot@samba.org>2002-06-04 01:45:59 +0000
commit57bfec68d5c1ebac63722e703a950db6057946e1 (patch)
tree3a1116cfea402055d025bda587d5acfd643475a5 /source3/nsswitch
parent3adb868e04c2e9bf81a36e6b85722d02172d498a (diff)
downloadsamba-57bfec68d5c1ebac63722e703a950db6057946e1.tar.gz
samba-57bfec68d5c1ebac63722e703a950db6057946e1.tar.bz2
samba-57bfec68d5c1ebac63722e703a950db6057946e1.zip
Fixed some formatting.
(This used to be commit 25554b46ded273e8f4070f14661b691ccc9ddd17)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cache.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index f65705e0fb..282a37230b 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -296,13 +296,14 @@ static struct cache_entry *wcache_fetch(struct winbind_cache *cache,
if (centry_expired(domain, centry)) {
extern BOOL opt_dual_daemon;
+
if (opt_dual_daemon) {
extern BOOL backgroud_process;
backgroud_process = True;
} else {
- centry_free(centry);
- return NULL;
- }
+ centry_free(centry);
+ return NULL;
+ }
}
return centry;