[asterisk-commits] rizzo: branch rizzo/astobj2 r47970 - /team/rizzo/astobj2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Nov 23 09:31:02 MST 2006


Author: rizzo
Date: Thu Nov 23 10:31:01 2006
New Revision: 47970

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47970
Log:
move initreq at the end of the struct sip_pvt.
It is the largest component, and we may want to allocate it
differently.


Modified:
    team/rizzo/astobj2/channels/chan_sip.c

Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47970&r1=47969&r2=47970
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Thu Nov 23 10:31:01 2006
@@ -977,11 +977,6 @@
 	char lastmsg[256];			/*!< Last Message sent/received */
 	int amaflags;				/*!< AMA Flags */
 	int pendinginvite;			/*!< Any pending invite ? (seqno of this) */
-	struct sip_request initreq;		/*!< Latest request that opened a new transaction
-							within this dialog.
-							NOT the request that opened the dialog
-						*/
-	
 	int initid;				/*!< Auto-congest ID if appropriate (scheduler) */
 	int autokillid;				/*!< Auto-kill ID (scheduler) */
 	enum transfermodes allowtransfer;	/*!< REFER: restriction scheme */
@@ -1006,6 +1001,10 @@
 							before strolling to the Grokyzpå
 							(A bit unsure of this, please correct if
 							you know more) */
+	struct sip_request initreq;		/*!< Latest request that opened a new transaction
+							within this dialog.
+							NOT the request that opened the dialog
+						*/
 };
 
 #ifdef	USE_AO2	/* astobj2 implementation */



More information about the asterisk-commits mailing list