]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Add body_type to test_handler for unit tests
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 15 Sep 2023 16:17:11 +0000 (10:17 -0600)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 20 Sep 2023 12:29:06 +0000 (12:29 +0000)
commit6cc101d8864c8b0048b050f1eab0e7397ac06989
tree5cd428e9d1c8a8e29be5e71c212b224489d5d38e
parentfde0e196581746163e0bb9b141a7aa944fb2faac
res_pjsip_pubsub: Add body_type to test_handler for unit tests

The ast_sip_subscription_handler "test_handler" used for the unit
tests didn't set "body_type" so the NULL value was causing
a SEGV in build_subscription_tree().  It's now set to "".

Resolves: #335
res/res_pjsip_pubsub.c