From b18ed67d16e60b0cfe25b5d3b5ff3b62a2b467dc Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 9 Dec 2013 16:10:05 +0000 Subject: Switch PJSIP auth to use a vector. Since Asterisk has a vector API now, places where arrays are manually resized don't really make sense any more. Since the auth work in PJSIP was freshly-written, it was easy to reform it to use a vector. Review: https://reviewboard.asterisk.org/r/3044 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403499 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_pjsip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_pjsip.c') diff --git a/res/res_pjsip.c b/res/res_pjsip.c index d5b870f1f..52a949257 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1194,7 +1194,7 @@ void ast_sip_unregister_outbound_authenticator(struct ast_sip_outbound_authentic ast_module_unref(ast_module_info->self); } -int ast_sip_create_request_with_auth(const struct ast_sip_auth_array *auths, pjsip_rx_data *challenge, +int ast_sip_create_request_with_auth(const struct ast_sip_auth_vector *auths, pjsip_rx_data *challenge, pjsip_transaction *tsx, pjsip_tx_data **new_request) { if (!registered_outbound_authenticator) { -- cgit v1.2.3