diff options
author | Kevin Harwell <kharwell@digium.com> | 2015-01-17 00:31:40 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2015-01-17 00:31:40 +0000 |
commit | 34c220203f38623689a5329d8aa001c552cc1386 (patch) | |
tree | 9d883f1daa9ab6a34e079de8148dbbdcd6944b84 /res/res_pjsip/pjsip_global_headers.c | |
parent | e257244bbb8014ab97ea98a231ce2f2e21d1228f (diff) |
REVERTING res_pjsip: make it unloadable
Due to the original patch causing memory corruptions the patch is
being removed until the problem can be resolved.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip/pjsip_global_headers.c')
-rw-r--r-- | res/res_pjsip/pjsip_global_headers.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/res/res_pjsip/pjsip_global_headers.c b/res/res_pjsip/pjsip_global_headers.c index fc7226761..eff870314 100644 --- a/res/res_pjsip/pjsip_global_headers.c +++ b/res/res_pjsip/pjsip_global_headers.c @@ -23,7 +23,6 @@ #include "asterisk/res_pjsip.h" #include "asterisk/linkedlists.h" -#include "include/res_pjsip_private.h" static pj_status_t add_request_headers(pjsip_tx_data *tdata); static pj_status_t add_response_headers(pjsip_tx_data *tdata); @@ -152,7 +151,7 @@ void ast_sip_initialize_global_headers(void) AST_RWLIST_HEAD_INIT(&request_headers); AST_RWLIST_HEAD_INIT(&response_headers); - internal_sip_register_service(&global_header_mod); + ast_sip_register_service(&global_header_mod); } static void destroy_headers(struct header_list *headers) @@ -169,6 +168,4 @@ void ast_sip_destroy_global_headers(void) { destroy_headers(&request_headers); destroy_headers(&response_headers); - - internal_sip_unregister_service(&global_header_mod); } |