[asterisk-commits] file: branch 12 r422746 - /branches/12/res/res_pjsip_sdp_rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 6 14:11:31 CDT 2014


Author: file
Date: Sat Sep  6 14:11:25 2014
New Revision: 422746

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422746
Log:
res_pjsip_sdp_rtp: Fix retrieval of "ice-pwd" attribute if in session and not media stream.

Modified:
    branches/12/res/res_pjsip_sdp_rtp.c

Modified: branches/12/res/res_pjsip_sdp_rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip_sdp_rtp.c?view=diff&rev=422746&r1=422745&r2=422746
==============================================================================
--- branches/12/res/res_pjsip_sdp_rtp.c (original)
+++ branches/12/res/res_pjsip_sdp_rtp.c Sat Sep  6 14:11:25 2014
@@ -403,7 +403,7 @@
 
 	attr = pjmedia_sdp_media_find_attr2(remote_stream, "ice-pwd", NULL);
 	if (!attr) {
-		pjmedia_sdp_attr_find2(remote->attr_count, remote->attr, "ice-pwd", NULL);
+		attr = pjmedia_sdp_attr_find2(remote->attr_count, remote->attr, "ice-pwd", NULL);
 	}
 	if (attr) {
 		ast_copy_pj_str(attr_value, (pj_str_t*)&attr->value, sizeof(attr_value));




More information about the asterisk-commits mailing list