diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-08 18:51:30 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-08 18:51:30 +0000 |
commit | 40fcc18c97d024935eeb79e82b859d2ddc2012c5 (patch) | |
tree | da81624b162c4a00ae568f547bfaa60bb10478e6 | |
parent | b02059a08e17102637319aae49e1e9b803aeabcb (diff) |
Merged revisions 161790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r161790 | tilghman | 2008-12-08 12:49:50 -0600 (Mon, 08 Dec 2008) | 6 lines
Allocate enough space initially for the message.
(closes issue #14027)
Reported by: junky
Patches:
M14027.diff uploaded by junky (license 177)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@161791 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/manager.c b/main/manager.c index b7c9d2d35..5ef4921cd 100644 --- a/main/manager.c +++ b/main/manager.c @@ -542,8 +542,8 @@ static char *handle_showmanager(struct ast_cli_entry *e, int cmd, struct ast_cli struct ast_manager_user *user = NULL; int l, which; char *ret = NULL; - struct ast_str *rauthority = ast_str_alloca(80); - struct ast_str *wauthority = ast_str_alloca(80); + struct ast_str *rauthority = ast_str_alloca(128); + struct ast_str *wauthority = ast_str_alloca(128); switch (cmd) { case CLI_INIT: |