]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_registration.c: Misc fixes.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 2 Aug 2017 23:41:49 +0000 (18:41 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 3 Aug 2017 21:26:41 +0000 (16:26 -0500)
commit347e148aa0bc2dec9d5c6dbe71d1841b52705db7
tree61829076580060512b020cd94fabea416f47a135
parent6edefc9480dac80895eec53f19343933b5bd531e
res_pjsip_outbound_registration.c: Misc fixes.

* Remove unnecessary CMP_STOP.

* In handle_client_registration() use DEBUG_ATLEAST() to only do work
needed for the debug log message when the debug log message is needed.

* In sip_outbound_registration_state_destroy() check state->registration
for NULL.

Change-Id: I656d0fa11dda0b00048103efb1558e67a426fd80
res/res_pjsip_outbound_registration.c