[asterisk-commits] mmichelson: branch mmichelson/pool_shark2 r381643 - /team/mmichelson/pool_sha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Feb 18 11:39:52 CST 2013


Author: mmichelson
Date: Mon Feb 18 11:39:49 2013
New Revision: 381643

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381643
Log:
It's smart to commit code that compiles.


Modified:
    team/mmichelson/pool_shark2/res/res_sip_session.c

Modified: team/mmichelson/pool_shark2/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pool_shark2/res/res_sip_session.c?view=diff&rev=381643&r1=381642&r2=381643
==============================================================================
--- team/mmichelson/pool_shark2/res/res_sip_session.c (original)
+++ team/mmichelson/pool_shark2/res/res_sip_session.c Mon Feb 18 11:39:49 2013
@@ -745,7 +745,7 @@
 	if (!nrd) {
 		return NULL;
 	}
-	nrd->rdata = pjsip_rx_data_clone(rdata);
+	pjsip_rx_data_clone(rdata, 0, &nrd->rdata);
 	if (!nrd->rdata) {
 		ast_free(nrd);
 		return NULL;
@@ -1004,7 +1004,7 @@
 	if (!hid) {
 		return NULL;
 	}
-	hid->rdata = pjsip_rx_data_clone(rdata);
+	pjsip_rx_data_clone(rdata, 0, &hid->rdata);
 	if (!hid->rdata) {
 		ao2_ref(hid, -1);
 		return NULL;




More information about the asterisk-commits mailing list