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
This commit is contained in:
James Golovich
2004-03-24 08:09:01 +00:00
parent 61d1fd9a0e
commit 8279f0eac5

View File

@@ -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);