summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-09-05 19:31:22 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-09-05 19:31:22 +0000
commita4bfc5d76c3c09b0935506c3507fb35d25acbfb2 (patch)
treed5f5557251ab85d2c29135be2369a0b5444d8f7b /usr.bin
parent84cabb9dde419d41a6b7da8d5527837991e17af6 (diff)
use CVS_ENT_MAXLINELEN;
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index 3fec048a077..fc812892174 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.76 2005/08/16 06:37:57 xsa Exp $ */
+/* $OpenBSD: proto.c,v 1.77 2005/09/05 19:31:21 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1043,7 +1043,7 @@ int
cvs_sendentry(struct cvsroot *root, const CVSFILE *file)
{
int l;
- char ebuf[128], numbuf[64];
+ char ebuf[CVS_ENT_MAXLINELEN], numbuf[64];
if (file->cf_type != DT_REG) {
cvs_log(LP_ERR, "attempt to send Entry for non-regular file");