[Asterisk-cvs] asterisk/channels chan_iax2.c,1.323,1.324
russell at lists.digium.com
russell at lists.digium.com
Mon Aug 1 10:40:17 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv9242/channels
Modified Files:
chan_iax2.c
Log Message:
make sure that iaxs gets initialized (bug #4856)
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.323
retrieving revision 1.324
diff -u -d -r1.323 -r1.324
--- chan_iax2.c 25 Jul 2005 23:13:20 -0000 1.323
+++ chan_iax2.c 1 Aug 2005 14:46:14 -0000 1.324
@@ -9328,6 +9328,8 @@
ast_log(LOG_WARNING, "Unable to open IAX timing interface: %s\n", strerror(errno));
#endif
+ memset(iaxs, 0, sizeof(iaxs));
+
for (x=0;x<IAX_MAX_CALLS;x++)
ast_mutex_init(&iaxsl[x]);
More information about the svn-commits
mailing list