diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-08 11:55:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-08 13:39:51 +0100 |
commit | 69155e41037d42ca58efa7ef749cb05654ac27e2 (patch) | |
tree | 021c8fff4e56dd46ebd7e796a1d4d34496534fcd /source3/winbindd | |
parent | cbe399155dd2884f9a350d43b4334b504ec57507 (diff) | |
download | samba-69155e41037d42ca58efa7ef749cb05654ac27e2.tar.gz samba-69155e41037d42ca58efa7ef749cb05654ac27e2.tar.bz2 samba-69155e41037d42ca58efa7ef749cb05654ac27e2.zip |
s3: Put some parentheses around conditionals
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 4 |
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; |