Make cli_complete buffer as large as the one used in handle_commandmatchesarray ...
authorJames Golovich <james@gnuinter.net>
Wed, 24 Mar 2004 08:09:01 +0000 (08:09 +0000)
committerJames Golovich <james@gnuinter.net>
Wed, 24 Mar 2004 08:09:01 +0000 (08:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index a714d54..0ec97bb 100755 (executable)
@@ -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);