summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-03-30 23:06:26 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-03-30 23:06:26 +0000
commit493f701ec4fdf601584a36d24c99719f463cbae9 (patch)
tree082f9069625bb08be41f709cae48c0fdfc38481c /usr.bin/cvs/rcsnum.c
parent22e826a15c97365b4ddd9ed8486e9b16a82a75ba (diff)
first part of supporting branches in openrcs. right now we can only
check them out. commit is not working yet, but will be soon. tested by myself and ray@ okay ray@
Diffstat (limited to 'usr.bin/cvs/rcsnum.c')
-rw-r--r--usr.bin/cvs/rcsnum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcsnum.c b/usr.bin/cvs/rcsnum.c
index 8a2273193dd..bb84ec69788 100644
--- a/usr.bin/cvs/rcsnum.c
+++ b/usr.bin/cvs/rcsnum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsnum.c,v 1.30 2006/03/30 06:07:35 ray Exp $ */
+/* $OpenBSD: rcsnum.c,v 1.31 2006/03/30 23:06:25 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -302,6 +302,7 @@ rcsnum_aton(const char *str, char **ep, RCSNUM *nump)
nump->rn_id[nump->rn_len + 1] = 0;
nump->rn_len++;
}
+
nump->rn_len++;
return (nump->rn_len);