diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-02-10 10:21:43 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-02-10 10:21:43 +0000 |
commit | 1bfb3f5f69f5d677b26511780bfa077d36bd6a80 (patch) | |
tree | 50d0e3846c744fba8e58033e73455f3b32b11fc7 /usr.bin/cvs/rcs.c | |
parent | 8b60bdfd121637f6e89639e4fe4264cb8f430756 (diff) |
properly initialize cvs_specified_date so we dont end up with
random stuff going on
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 4d3c3f3e2ae..efc2482fae4 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.247 2008/02/09 13:41:22 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.248 2008/02/10 10:21:42 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -3551,7 +3551,7 @@ rcs_translate_tag(const char *revstr, RCSFILE *rfp) if ((rdp = rcs_findrev(rfp, rev)) == NULL) fatal("rcs_translate_tag: cannot find revision"); - if (cvs_specified_date == 0) + if (cvs_specified_date == -1) return rev; if (frev != NULL) { |