[asterisk-commits] tilghman: trunk r161790 - /trunk/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 8 12:49:51 CST 2008
Author: tilghman
Date: Mon Dec 8 12:49:50 2008
New Revision: 161790
URL: http://svn.digium.com/view/asterisk?view=rev&rev=161790
Log:
Allocate enough space initially for the message.
(closes issue #14027)
Reported by: junky
Patches:
M14027.diff uploaded by junky (license 177)
Modified:
trunk/main/manager.c
Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=161790&r1=161789&r2=161790
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Mon Dec 8 12:49:50 2008
@@ -545,8 +545,8 @@
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:
More information about the asterisk-commits
mailing list