diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-24 08:09:01 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-24 08:09:01 +0000 |
commit | 83ecc31a69e4e7d6ca8196f60323678e2fe637e9 (patch) | |
tree | a38891ac28f36323087e35124f91905631df1a41 /asterisk.c | |
parent | ad2293dd3faf6e5070e2a490e5fb272d68ca6649 (diff) |
Make cli_complete buffer as large as the one used in handle_commandmatchesarray (bug 1281)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2545 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index a714d542b..0ec97bb54 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); |