merge from team/rizzo/astobj2 rev.47271
authorLuigi Rizzo <rizzo@icir.org>
Wed, 8 Nov 2006 13:59:32 +0000 (13:59 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 8 Nov 2006 13:59:32 +0000 (13:59 +0000)
commit5e610776328f1d51a25346d5b310f26f32a203a4
tree095c0f9e0c81789236fdfee6deb4d6f20418fd58
parentd5b101e9745d62762d73a456606e747fcf41f930
merge from team/rizzo/astobj2 rev.47271

avoid doing p > 0 when p is a pointer;
move a lock closer to the place where it is needed

Approved By: oej

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