From 69155e41037d42ca58efa7ef749cb05654ac27e2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 8 Nov 2010 11:55:07 +0100 Subject: s3: Put some parentheses around conditionals --- source3/winbindd/winbindd_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 8e4d24c49b..c6ef293134 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -614,8 +614,8 @@ static bool centry_expired(struct winbindd_domain *domain, const char *keystr, s /* if the server is down or the cache entry is not older than the current sequence number or it did not timeout then it is OK */ if (wcache_server_down(domain) - || (centry->sequence_number == domain->sequence_number - && centry->timeout > time(NULL))) { + || ((centry->sequence_number == domain->sequence_number) + && (centry->timeout > time(NULL)))) { DEBUG(10,("centry_expired: Key %s for domain %s is good.\n", keystr, domain->name )); return false; -- cgit