summaryrefslogtreecommitdiff
path: root/channels/sip/config_parser.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-10-31 03:26:28 +0000
committerMatthew Jordan <mjordan@digium.com>2014-10-31 03:26:28 +0000
commitd88282af407fc3654826c29e0fe1c717143c93f0 (patch)
tree408df066d2e18b1bb0f49ad39a683f161427c625 /channels/sip/config_parser.c
parentbf684b63a306ac5cd10e8bcdb5932dc7aafb3317 (diff)
channels/sip/reqresp_parser: Fix unit tests for r426594
When r426594 was made, it did not take into account a unit test that verified that the function properly populated the unsupported buffer. The function would previously memset the buffer if it detected it had any contents; since this function can now be called iteratively on successive headers, the unit tests would now fail. This patch updates the unit tests to reset the buffer themselves between successive calls, and updates the documentation of the function to note that this is now required. ........ Merged revisions 426858 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 426860 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 426863 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 426865 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip/config_parser.c')
0 files changed, 0 insertions, 0 deletions