summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-07-01 15:00:23 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-07-01 15:00:23 +0000
commit3168950c92fdf19f473ed9a0ceb84c0eb512d109 (patch)
treefa471284f6d2c5bd942b46eabd7df8829ccd0b51
parent0c200c5fabf28bb0d080f577d2e256e660795c1b (diff)
|| should && instead ...
-rw-r--r--usr.bin/cvs/getlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index c7797c2baaf..f0e8cdc2053 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.33 2005/07/01 14:55:30 xsa Exp $ */
+/* $OpenBSD: getlog.c,v 1.34 2005/07/01 15:00:22 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -273,7 +273,7 @@ cvs_getlog_local(CVSFILE *cf, void *arg)
cvs_printf("total revisions: %u;", rf->rf_ndelta);
- if (!log_honly || !log_lhonly)
+ if (!log_honly && !log_lhonly)
cvs_printf("\tselected revisions: %u", nrev);
cvs_printf("\n");