]> 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:25:49 +0000 (16:25 -0500)
commit631180a0c3c5112dece331166e7cc7b5e110dbd8
tree1ec9e44dfe37f92a8dd5a743ea369315154ce298
parented1bce956e30d9f8ec8defcbae33ea3217dd8fb6
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