[Asterisk-cvs] asterisk/channels chan_iax2.c,1.186,1.187

citats at lists.digium.com citats at lists.digium.com
Fri Sep 17 09:54:33 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	chan_iax2.c 
Log Message:
Make chan_iax2.c compile again on older gcc.  Remember definitions must come first

Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- chan_iax2.c	17 Sep 2004 12:45:03 -0000	1.186
+++ chan_iax2.c	17 Sep 2004 13:58:38 -0000	1.187
@@ -4990,9 +4990,9 @@
 	int minivid = 0;
 	unsigned int ts;
 	char empty[32]="";		/* Safety measure */
-	dblbuf[0] = 0;	/* Keep GCC from whining */
 	struct iax_frame *duped_fr;
 
+	dblbuf[0] = 0;	/* Keep GCC from whining */
 	fr.callno = 0;
 	
 	res = recvfrom(netsocket, buf, sizeof(buf), 0,(struct sockaddr *) &sin, &len);




More information about the svn-commits mailing list