[Asterisk-cvs] asterisk/channels chan_sip.c,1.607,1.608

markster at lists.digium.com markster at lists.digium.com
Fri Dec 31 18:32:07 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv3311/channels

Modified Files:
	chan_sip.c 
Log Message:
Fix GCC 2.95 build (bug #3211)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.607
retrieving revision 1.608
diff -u -d -r1.607 -r1.608
--- chan_sip.c	30 Dec 2004 16:38:17 -0000	1.607
+++ chan_sip.c	31 Dec 2004 23:26:39 -0000	1.608
@@ -8777,7 +8777,7 @@
 	int format;
 	int oldport = ntohs(bindaddr.sin_port);
 	char iabuf[INET_ADDRSTRLEN];
-
+	struct ast_flags dummy;
 	
 	if (gethostname(ourhost, sizeof(ourhost))) {
 		ast_log(LOG_WARNING, "Unable to get hostname, SIP disabled\n");
@@ -8830,7 +8830,6 @@
 	regcontext[0] = '\0';
 	tos = 0;
 	expiry = DEFAULT_EXPIRY;
-	struct ast_flags dummy;
 
 	/* Read the [general] config section of sip.conf (or from realtime config) */
 	v = ast_variable_browse(cfg, "general");




More information about the svn-commits mailing list