svn commit: r241835 - head/usr.bin/csup

Eitan Adler eadler at FreeBSD.org
Mon Oct 22 02:59:45 UTC 2012


Author: eadler
Date: Mon Oct 22 02:59:44 2012
New Revision: 241835
URL: http://svn.freebsd.org/changeset/base/241835

Log:
  Fix conditional expression: previously a bitvector would be operated
  on by a logical not.
  
  Approved by:	cperciva
  MFC after:	3 days

Modified:
  head/usr.bin/csup/lister.c

Modified: head/usr.bin/csup/lister.c
==============================================================================
--- head/usr.bin/csup/lister.c	Mon Oct 22 02:29:56 2012	(r241834)
+++ head/usr.bin/csup/lister.c	Mon Oct 22 02:59:44 2012	(r241835)
@@ -530,7 +530,7 @@ lister_dorcsdead(struct lister *l, struc
 		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, 1);
 		if (path == NULL) {
 			spath = coll_statuspath(coll);


More information about the svn-src-all mailing list