From: James Golovich Date: Wed, 24 Mar 2004 08:09:01 +0000 (+0000) Subject: Make cli_complete buffer as large as the one used in handle_commandmatchesarray ... X-Git-Tag: 1.0.0-rc1~854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8279f0eac5cfc780fbe88a9342199befa7aafd5a;p=thirdparty%2Fasterisk.git 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 --- 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);