diff options
author | George Joseph <gjoseph@digium.com> | 2018-04-16 11:12:30 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-04-16 11:12:30 -0500 |
commit | 38dae51b788cd7f9f69c88573d6ce769c80f07f0 (patch) | |
tree | 0e38f24c92f437b0c3be19c3522eae816cace726 /res/res_pjsip | |
parent | 267e007c28663690e8ad48487be2f4a7ec78e926 (diff) | |
parent | 237d341bbd08168ca7b7bffd190125c032b57f39 (diff) |
Merge "res_pjsip.c: Split ast_sip_push_task_synchronous() to fit expectations."
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/config_system.c | 2 | ||||
-rw-r--r-- | res/res_pjsip/config_transport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip/config_system.c b/res/res_pjsip/config_system.c index dfd92404b..ed2b5d232 100644 --- a/res/res_pjsip/config_system.c +++ b/res/res_pjsip/config_system.c @@ -282,5 +282,5 @@ static int system_create_resolver_and_set_nameservers(void *data) void ast_sip_initialize_dns(void) { - ast_sip_push_task_synchronous(NULL, system_create_resolver_and_set_nameservers, NULL); + ast_sip_push_task_wait_servant(NULL, system_create_resolver_and_set_nameservers, NULL); } diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c index 15c03769b..dd7c7049d 100644 --- a/res/res_pjsip/config_transport.c +++ b/res/res_pjsip/config_transport.c @@ -267,7 +267,7 @@ static void sip_transport_state_destroy(void *obj) { struct ast_sip_transport_state *state = obj; - ast_sip_push_task_synchronous(NULL, destroy_sip_transport_state, state); + ast_sip_push_task_wait_servant(NULL, destroy_sip_transport_state, state); } /*! \brief Destructor for ast_sip_transport state information */ |