From 8279f0eac5cfc780fbe88a9342199befa7aafd5a Mon Sep 17 00:00:00 2001 From: James Golovich Date: Wed, 24 Mar 2004 08:09:01 +0000 Subject: [PATCH] Make cli_complete buffer as large as the one used in handle_commandmatchesarray (bug 1281) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2545 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- asterisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asterisk.c b/asterisk.c index a714d542b7..0ec97bb542 100755 --- a/asterisk.c +++ b/asterisk.c @@ -977,7 +977,7 @@ static char *cli_complete(EditLine *el, int ch) int nummatches = 0; char **matches; int retval = CC_ERROR; - char buf[1024]; + char buf[2048]; int res; LineInfo *lf = (LineInfo *)el_line(el);