Since a sip request's data field is now a stringfield, we not only have to check
authorMark Michelson <mmichelson@digium.com>
Tue, 18 Mar 2008 20:02:26 +0000 (20:02 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 18 Mar 2008 20:02:26 +0000 (20:02 +0000)
commit8bceb4f2a1000b4397b891a888df3db811cd4ec1
tree3fb5d0195cc6c7338830531235845f05ffc90d76
parentb8fe71d8cb4e433421d026418b524b2f1fb231b5
Since a sip request's data field is now a stringfield, we not only have to check
if the string is zero-length, but also if the data field is non-null.

(closes issue #12250)
Reported by: caio1982

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c