[asterisk-commits] file: branch 13 r422747 - in /branches/13: ./ res/res_pjsip_sdp_rtp.c

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


Author: file
Date: Sat Sep  6 14:12:17 2014
New Revision: 422747

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

Merged revisions 422746 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/res/res_pjsip_sdp_rtp.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/res/res_pjsip_sdp_rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_sdp_rtp.c?view=diff&rev=422747&r1=422746&r2=422747
==============================================================================
--- branches/13/res/res_pjsip_sdp_rtp.c (original)
+++ branches/13/res/res_pjsip_sdp_rtp.c Sat Sep  6 14:12:17 2014
@@ -419,7 +419,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