Files
asterisk/channels/sip
Matthew Jordan 09064cd3f5 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.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@426858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-10-31 03:24:24 +00:00
..