[asterisk-commits] kharwell: branch kharwell/pimp_sip_video r384603 - /team/kharwell/pimp_sip_vi...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 2 16:59:05 CDT 2013


Author: kharwell
Date: Tue Apr  2 16:59:02 2013
New Revision: 384603

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384603
Log:
removed extra spaces and swapped function params around to be in the correct order

Modified:
    team/kharwell/pimp_sip_video/res/res_sip_session.c

Modified: team/kharwell/pimp_sip_video/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/kharwell/pimp_sip_video/res/res_sip_session.c?view=diff&rev=384603&r1=384602&r2=384603
==============================================================================
--- team/kharwell/pimp_sip_video/res/res_sip_session.c (original)
+++ team/kharwell/pimp_sip_video/res/res_sip_session.c Tue Apr  2 16:59:02 2013
@@ -1207,7 +1207,6 @@
 static int has_supplement(struct ast_sip_session *session, pjsip_rx_data *rdata)
 {
 	struct ast_sip_session_supplement *supplement;
-	
 	struct pjsip_method *method = &rdata->msg_info.msg->line.req.method;
 
 	AST_LIST_TRAVERSE(&session->supplements, supplement, next) {
@@ -1251,7 +1250,7 @@
 	default:
 		/* Handle other in-dialog methods if their supplements have been registered */
 		handled = dlg && (inv_session = pjsip_dlg_get_inv_session(dlg)) &&
-			has_supplement(rdata, inv_session->mod_data[session_module.id]);
+			has_supplement(inv_session->mod_data[session_module.id], rdata);
 		break;
 	}
 




More information about the asterisk-commits mailing list