summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-24 12:52:24 +0100
committerVolker Lendecke <vl@samba.org>2009-12-26 12:26:07 +0100
commit634d084517652a053587a2f13825a49a67460f12 (patch)
tree30affbc9187e9761293ce0e20e9e6e8c3ccfd4ce /source3/winbindd/winbindd_cache.c
parent50e5f9dc512a7356b16bb68bdd4a80ae9dd436b3 (diff)
downloadsamba-634d084517652a053587a2f13825a49a67460f12.tar.gz
samba-634d084517652a053587a2f13825a49a67460f12.tar.bz2
samba-634d084517652a053587a2f13825a49a67460f12.zip
s3: Replace IS_DOMAIN_OFFLINE by a function
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 6e70a18c35..ac855886ce 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -514,7 +514,7 @@ static void refresh_sequence_number(struct winbindd_domain *domain, bool force)
time_t t = time(NULL);
unsigned cache_time = lp_winbind_cache_time();
- if ( IS_DOMAIN_OFFLINE(domain) ) {
+ if (is_domain_offline(domain)) {
return;
}
@@ -4394,7 +4394,7 @@ bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
goto fail;
}
- if (IS_DOMAIN_ONLINE(domain)) {
+ if (is_domain_offline(domain)) {
uint32_t entry_seqnum, dom_seqnum, last_check;
if (!wcache_fetch_seqnum(domain->name, &dom_seqnum,