mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
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:
@@ -977,7 +977,7 @@ static char *cli_complete(EditLine *el, int ch)
|
|||||||
int nummatches = 0;
|
int nummatches = 0;
|
||||||
char **matches;
|
char **matches;
|
||||||
int retval = CC_ERROR;
|
int retval = CC_ERROR;
|
||||||
char buf[1024];
|
char buf[2048];
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
LineInfo *lf = (LineInfo *)el_line(el);
|
LineInfo *lf = (LineInfo *)el_line(el);
|
||||||
|
Reference in New Issue
Block a user