summaryrefslogtreecommitdiffstats
path: root/contrib/csup
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2008-12-21 14:04:10 +0000
committerlulf <lulf@FreeBSD.org>2008-12-21 14:04:10 +0000
commit306c871b2f4122371e91ff3b93e4c9b731b7f1bf (patch)
treee13e7be9189a9cc80951b0b593878ac5fd01c453 /contrib/csup
parent59150ced5da27ec9998ceea1212c550d7aa7a621 (diff)
downloadFreeBSD-src-306c871b2f4122371e91ff3b93e4c9b731b7f1bf.zip
FreeBSD-src-306c871b2f4122371e91ff3b93e4c9b731b7f1bf.tar.gz
- Fix a wrong flag check.
Diffstat (limited to 'contrib/csup')
-rw-r--r--contrib/csup/lister.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/lister.c b/contrib/csup/lister.c
index 5597c8e..27fae2d 100644
--- a/contrib/csup/lister.c
+++ b/contrib/csup/lister.c
@@ -421,7 +421,7 @@ lister_dorcsfile(struct lister *l, struct coll *coll, struct statusrec *sr)
return (0);
config = l->config;
wr = l->wr;
- if (!coll->co_options & CO_TRUSTSTATUSFILE) {
+ if (!(coll->co_options & CO_TRUSTSTATUSFILE)) {
path = cvspath(coll->co_prefix, sr->sr_file, 0);
if (path == NULL) {
spath = coll_statuspath(coll);
OpenPOWER on IntegriCloud