From a4bfc5d76c3c09b0935506c3507fb35d25acbfb2 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Mon, 5 Sep 2005 19:31:22 +0000 Subject: use CVS_ENT_MAXLINELEN; --- usr.bin/cvs/proto.c | 4 ++-- 1 file 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 * 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"); -- cgit v1.2.3