summaryrefslogtreecommitdiff
path: root/cdr
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2009-01-15 19:00:06 +0000
committerMark Michelson <mmichelson@digium.com>2009-01-15 19:00:06 +0000
commit5c9daf4d3de646920e25c507f34cbb69b68815fc (patch)
tree260ae536f07eff414afa99e5accf241578139114 /cdr
parent5375047548c5466f0e46b83e99bb2e57a2f86b9b (diff)
Remove an unneeded condition for line addition to a SIP request/response
In Asterisk 1.4 and 1.6.0, the sip_request structure had a statically allocated buffer to hold the text of the request. There was a check in the add_line function to not attempt to write the line into the buffer if we did not have room for it. In trunk and Asterisk versions starting with 1.6.1, an expandable ast_str structure is used to hold the text. Since it may grow to fit an arbitrarily sized string, this check in add_line is no longer valid. I found this oddity while attempting to fix issue #14220; however, I do not believe that this is the fix for that issue since the output supplied by the reporter did not contain the warning message that would be printed had this condition been satisfied. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr')
0 files changed, 0 insertions, 0 deletions