diff options
author | 2008-02-10 10:21:42 +0000 | |
---|---|---|
committer | 2008-02-10 10:21:42 +0000 | |
commit | 7f0c79fc002a439aeda6fa44e65067ad8bf63e0b (patch) | |
tree | 042ccff3f70c21a13fb6d95495e6adf35bdb47e7 /usr.bin/cvs/annotate.c | |
parent | parse any date tags set in CVS/Tag or CVS/Entries properly, and use (diff) | |
download | wireguard-openbsd-7f0c79fc002a439aeda6fa44e65067ad8bf63e0b.tar.xz wireguard-openbsd-7f0c79fc002a439aeda6fa44e65067ad8bf63e0b.zip |
properly initialize cvs_specified_date so we dont end up with
random stuff going on
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r-- | usr.bin/cvs/annotate.c | 4 |
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); } |