[Home]

Summary:ASTERISK-11362: [patch] CoreSettings and CoreStatus are missing the trailing "\r\n" delimiter
Reporter:Stefan Reuter (srt)Labels:
Date Opened:2008-02-02 18:05:37.000-0600Date Closed:2008-02-03 11:38:41.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch-11909.diff
( 1) patch-11909-2.diff
( 2) patch-11909-3.diff
Description:Manager responses end with a blank line (i.e. "\r\n\r\n").
CoreSettings and CoreStatus miss that.
Comments:By: Stefan Reuter (srt) 2008-02-03 09:48:18.000-0600

The reponse the reload action suffers the same problem.
patch-11909-2.diff fixes this by using the standard astman_send_ack instead of a manual astman_append.

By: Digium Subversion (svnbot) 2008-02-03 11:38:41.000-0600

Repository: asterisk
Revision: 102190

U   trunk/main/manager.c

------------------------------------------------------------------------
r102190 | tilghman | 2008-02-03 11:38:40 -0600 (Sun, 03 Feb 2008) | 8 lines

CoreSettings and CoreStatus are missing the terminating "
".  Also, some
miscellaneous spacing and initialization issues.
(closes issue ASTERISK-11362)
Reported by: srt
Patches:
      patch-11909-2.diff uploaded by srt (license 378)
Tested by: srt

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=102190