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

Modified Files:
        channel.c 
Log Message:
Remove double fout++ and comment on flag (bug #4267)


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- channel.c   29 Apr 2005 17:00:33 -0000      1.193
+++ channel.c   14 May 2005 23:26:37 -0000      1.194
@@ -1520,6 +1520,7 @@
                        ast_settimeout(chan, 160, generator_force, chan);
                }
        }
+       /* High bit prints debugging */
        if (chan->fin & 0x80000000)
                ast_frame_dump(chan->name, f, "<<");
        if ((chan->fin & 0x7fffffff) == 0x7fffffff)
@@ -1729,6 +1730,7 @@
                        return 0;
                }
        }
+       /* High bit prints debugging */
        if (chan->fout & 0x80000000)
                ast_frame_dump(chan->name, fr, ">>");
        CHECK_BLOCKING(chan);
@@ -1817,7 +1819,6 @@
                        chan->fout &= 0x80000000;
                else
                        chan->fout++;
-               chan->fout++;
        }
        ast_mutex_unlock(&chan->lock);
        return res;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to