summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-09-05 19:31:21 +0000
committerxsa <xsa@openbsd.org>2005-09-05 19:31:21 +0000
commitafeacc0d30ba78623e13d181105822af7ed0f5a4 (patch)
treebbd7ddc39dd72e70b27463d60e83a4bcd929d7d6
parentadd new functions: cvs_write_tagfile() and cvs_parse_tagfile(), (diff)
downloadwireguard-openbsd-afeacc0d30ba78623e13d181105822af7ed0f5a4.tar.xz
wireguard-openbsd-afeacc0d30ba78623e13d181105822af7ed0f5a4.zip
use CVS_ENT_MAXLINELEN;
-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");