diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2008-01-31 19:51:41 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2008-01-31 19:51:41 +0000 |
commit | 91e6efdd92c09430e6c51363c02760d7727d8773 (patch) | |
tree | 3ff49d63238e83bf65928c1ca228f68d87841440 /usr.bin | |
parent | aa799e0b55a8d9eac5f854bf2d1dbdeee223653d (diff) |
Make use of CVS_REV_BUFSZ everywhere for `sticky'.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/checkout.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/client.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index 9e93ad0d565..238649e017b 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.114 2008/01/31 19:49:05 xsa Exp $ */ +/* $OpenBSD: checkout.c,v 1.115 2008/01/31 19:51:40 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -303,7 +303,7 @@ cvs_checkout_file(struct cvs_file *cf, RCSNUM *rnum, char *tag, int co_flags) struct timeval tv[2]; char *tosend; char template[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN]; - char kbuf[8], sticky[32], rev[CVS_REV_BUFSZ]; + char kbuf[8], sticky[CVS_REV_BUFSZ], rev[CVS_REV_BUFSZ]; char timebuf[CVS_TIME_BUFSZ], tbuf[CVS_TIME_BUFSZ]; exists = 0; diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 280557b11b4..9a279d09df6 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.91 2008/01/29 11:55:30 tobias Exp $ */ +/* $OpenBSD: client.c,v 1.92 2008/01/31 19:51:40 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -450,7 +450,7 @@ void cvs_client_sendfile(struct cvs_file *cf) { size_t len; - char rev[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ], sticky[32]; + char rev[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ], sticky[CVS_REV_BUFSZ]; if (cf->file_type != CVS_FILE) return; |