[asterisk-commits] rizzo: branch rizzo/astobj2 r48535 -
/team/rizzo/astobj2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Dec 17 00:38:00 MST 2006
Author: rizzo
Date: Sun Dec 17 01:37:59 2006
New Revision: 48535
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48535
Log:
no need to initialize a struct in transmit_refer(),
reqprep will do it for us later.
trunk candidate
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=48535&r1=48534&r2=48535
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Sun Dec 17 01:37:59 2006
@@ -7764,9 +7764,7 @@
*/
static int transmit_refer(struct sip_pvt *p, const char *dest)
{
- struct sip_msg_out req = { /* XXX do we need to init it ? */
- .headers = 0,
- };
+ struct sip_msg_out req;
char from[256];
const char *of;
char *c;
More information about the asterisk-commits
mailing list