summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-08 11:55:07 +0100
committerVolker Lendecke <vl@samba.org>2010-11-08 13:39:51 +0100
commit69155e41037d42ca58efa7ef749cb05654ac27e2 (patch)
tree021c8fff4e56dd46ebd7e796a1d4d34496534fcd /source3
parentcbe399155dd2884f9a350d43b4334b504ec57507 (diff)
downloadsamba-69155e41037d42ca58efa7ef749cb05654ac27e2.tar.gz
samba-69155e41037d42ca58efa7ef749cb05654ac27e2.tar.bz2
samba-69155e41037d42ca58efa7ef749cb05654ac27e2.zip
s3: Put some parentheses around conditionals
Diffstat (limited to 'source3')
-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 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;