mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Merged revisions 232576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r232576 | jpeeler | 2009-12-02 15:32:50 -0600 (Wed, 02 Dec 2009) | 8 lines Make manager response to "Action: events" finish with empty line (closes issue #16275) Reported by: vnovy Patches: manager.c.diff uploaded by vnovy (license 922) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@232578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1702,10 +1702,10 @@ static int action_events(struct mansession *s, const struct message *m)
|
||||
res = set_eventmask(s, mask);
|
||||
if (res > 0)
|
||||
astman_append(s, "Response: Success\r\n"
|
||||
"Events: On\r\n");
|
||||
"Events: On\r\n\r\n");
|
||||
else if (res == 0)
|
||||
astman_append(s, "Response: Success\r\n"
|
||||
"Events: Off\r\n");
|
||||
"Events: Off\r\n\r\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user