[Asterisk-cvs] asterisk/channels chan_h323.c,1.123,1.124

jeremy jeremy
Mon Aug 1 23:19:33 CDT 2005


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

Modified Files:
	chan_h323.c 
Log Message:
Fix newsignal/newcontrol compile issue. Bug #4867

Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- chan_h323.c	27 Jul 2005 04:45:11 -0000	1.123
+++ chan_h323.c	2 Aug 2005 03:25:28 -0000	1.124
@@ -823,7 +823,7 @@
 		pvt->nonCodecCapability &= ~AST_RTP_DTMF;
 	}
 	strncpy(pvt->context, default_context, sizeof(pvt->context) - 1);
-	pvt->newstate = pvt->newsignal = -1;
+	pvt->newstate = pvt->newcontrol = -1;
 	/* Add to interface list */
 	ast_mutex_lock(&iflock);
 	pvt->next = iflist;
@@ -873,7 +873,7 @@
 		if (state >= 0)
 			pvt->newstate = state;
 		if (signal >= 0)
-			pvt->newsignal = signal;
+			pvt->newcontrol = signal;
 		return 0;
 	}
 }




More information about the svn-commits mailing list