summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index d868e07d963..935ef87c6e2 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.54 2008/02/09 16:05:08 tobias Exp $ */
+/* $OpenBSD: annotate.c,v 1.55 2008/02/10 10:21:42 joris Exp $ */
/*
* Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -203,7 +203,7 @@ cvs_annotate_local(struct cvs_file *cf)
}
rcsnum_free(rev);
} else {
- rcs_rev_getlines(cf->file_rcs, cvs_specified_date ?
+ rcs_rev_getlines(cf->file_rcs, (cvs_specified_date != -1) ?
cf->file_rcsrev : cf->file_rcs->rf_head, &alines);
}