[asterisk-commits] file: trunk r73932 - /trunk/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jul 8 20:25:01 CDT 2007
Author: file
Date: Sun Jul 8 20:25:00 2007
New Revision: 73932
URL: http://svn.digium.com/view/asterisk?view=rev&rev=73932
Log:
Make sure the idText variable is empty, and put it in the right place for the manager ack packet. (issue #10152 reported by srt)
Modified:
trunk/main/manager.c
Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=73932&r1=73931&r2=73932
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Sun Jul 8 20:25:00 2007
@@ -2241,7 +2241,7 @@
static int action_coresettings(struct mansession *s, const struct message *m)
{
const char *actionid = astman_get_header(m, "ActionID");
- char idText[150];
+ char idText[150] = "";
if (!ast_strlen_zero(actionid))
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
@@ -2260,8 +2260,8 @@
"CoreCDRenabled: %s\r\n"
"CoreHTTPenabled: %s\r\n"
,
+ idText,
AMI_VERSION,
- idText,
ASTERISK_VERSION,
ast_config_AST_SYSTEM_NAME,
option_maxcalls,
More information about the asterisk-commits
mailing list