Author: gtjoseph
Date: Thu Oct 9 18:35:21 2014
New Revision: 425052
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425052
Log:
res_pjsip_phoneprov_provider: fix compile breakage on AST_VECTOR
endpoint->inbound_auths was changed to a vector in 13 and I
committed the 12 patch instead of the 13 patch.
Tested-by: George Joseph
Modified:
branches/13/res/res_pjsip_phoneprov_provider.c
Modified: branches/13/res/res_pjsip_phoneprov_provider.c
URL:
http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_phoneprov_provider.c?view=diff&rev=425052&r1=425051&r2=425052
==============================================================================
--- branches/13/res/res_pjsip_phoneprov_provider.c (original)
+++ branches/13/res/res_pjsip_phoneprov_provider.c Thu Oct 9 18:35:21 2014
@@ -258,10 +258,10 @@
}
snprintf(port_string, 6, "%d", pj_sockaddr_get_port(&transport->host));
- if (!endpoint->inbound_auths.num) {
+ if (!AST_VECTOR_SIZE(&endpoint->inbound_auths)) {
return 0;
}
- auth_name = endpoint->inbound_auths.names[0];
+ auth_name = AST_VECTOR_GET(&endpoint->inbound_auths, 0);
auth = ast_sorcery_retrieve_by_id(ast_sip_get_sorcery(), "auth",
auth_name);
if (!auth) {
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits