[asterisk-commits] rizzo: branch rizzo/astobj2 r47545 -
/team/rizzo/astobj2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Nov 13 09:42:12 MST 2006
Author: rizzo
Date: Mon Nov 13 10:42:12 2006
New Revision: 47545
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47545
Log:
move two fields of a sip_request before the buffers, so we can
make optimized buffers by allocating only the memory we need.
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=47545&r1=47544&r2=47545
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Mon Nov 13 10:42:12 2006
@@ -592,11 +592,11 @@
int method; /*!< Method of this request */
int lines; /*!< Body Content */
unsigned int flags; /*!< SIP_PKT Flags for this packet */
+ unsigned int sdp_start; /*!< the line number where the SDP begins */
+ unsigned int sdp_end; /*!< the line number where the SDP ends */
char *header[SIP_MAX_HEADERS];
char *line[SIP_MAX_LINES];
char data[SIP_MAX_PACKET];
- unsigned int sdp_start; /*!< the line number where the SDP begins */
- unsigned int sdp_end; /*!< the line number where the SDP ends */
};
/*
More information about the asterisk-commits
mailing list