[asterisk-commits] russell: trunk r105574 - /trunk/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 3 12:49:35 CST 2008
Author: russell
Date: Mon Mar 3 12:49:34 2008
New Revision: 105574
URL: http://svn.digium.com/view/asterisk?view=rev&rev=105574
Log:
Fix some code that was improperly changed in revision 104866 from issue #12079.
(closes issue #12129, reported by elguero, patched by me)
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=105574&r1=105573&r2=105574
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Mon Mar 3 12:49:34 2008
@@ -1148,7 +1148,7 @@
{
ZT_BUFFERINFO bi;
int res;
- if (p->subs[x].zfd < 0) {
+ if (p->subs[x].zfd >= 0) {
ast_log(LOG_WARNING, "%s subchannel of %d already in use\n", subnames[x], p->channel);
return -1;
}
More information about the asterisk-commits
mailing list