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

Modified Files:
      Tag: v1-0
        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.139.2.8
retrieving revision 1.139.2.9
diff -u -d -r1.139.2.8 -r1.139.2.9
--- channel.c   12 May 2005 02:42:48 -0000      1.139.2.8
+++ channel.c   16 May 2005 03:10:20 -0000      1.139.2.9
@@ -1397,6 +1397,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)
@@ -1601,6 +1602,7 @@
                        return 0;
                }
        }
+       /* High bit prints debugging */
        if (chan->fout & 0x80000000)
                ast_frame_dump(chan->name, fr, ">>");
        CHECK_BLOCKING(chan);
@@ -1681,7 +1683,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