summaryrefslogtreecommitdiff
path: root/asterisk.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-03-24 08:09:01 +0000
committerJames Golovich <james@gnuinter.net>2004-03-24 08:09:01 +0000
commit8279f0eac5cfc780fbe88a9342199befa7aafd5a (patch)
treea38891ac28f36323087e35124f91905631df1a41 /asterisk.c
parent61d1fd9a0e23f99b7bc68bfc0f0919ac85e5c6cb (diff)
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
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c2
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);