[Asterisk-cvs] asterisk/channels chan_zap.c,1.269,1.270
markster at lists.digium.com
markster at lists.digium.com
Wed Jun 16 17:40:56 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv2991/channels
Modified Files:
chan_zap.c
Log Message:
Gotta set slot to 0 before you print :)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.269
retrieving revision 1.270
diff -u -d -r1.269 -r1.270
--- chan_zap.c 16 Jun 2004 15:34:21 -0000 1.269
+++ chan_zap.c 16 Jun 2004 21:26:53 -0000 1.270
@@ -1856,9 +1856,9 @@
}
}
if (newslot < 0) {
+ newslot = 0;
ast_log(LOG_WARNING, "No D-channels available! Using Primary on channel anyway %d!\n",
pri->dchannels[newslot]);
- newslot = 0;
}
if (old && (oldslot != newslot))
ast_log(LOG_NOTICE, "Switching from from d-channel %d to channel %d!\n",
More information about the svn-commits
mailing list