[asterisk-commits] trunk r25894 - /trunk/channel.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue May 9 00:51:56 MST 2006
Author: rizzo
Date: Tue May 9 02:51:55 2006
New Revision: 25894
URL: http://svn.digium.com/view/asterisk?rev=25894&view=rev
Log:
mark a couple of dubious pieces of code
Modified:
trunk/channel.c
Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=25894&r1=25893&r2=25894&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Tue May 9 02:51:55 2006
@@ -1904,6 +1904,7 @@
chan->readq = f->next;
f->next = NULL;
/* Interpret hangup and return NULL */
+ /* XXX why not the same for frames from the channel ? */
if (f->frametype == AST_FRAME_CONTROL && f->subclass == AST_CONTROL_HANGUP) {
ast_frfree(f);
f = NULL;
@@ -1978,6 +1979,7 @@
queue_frame_to_spies(chan, f, SPY_READ);
if (chan->monitor && chan->monitor->read_stream ) {
+ /* XXX what does this do ? */
#ifndef MONITOR_CONSTANT_DELAY
int jump = chan->outsmpl - chan->insmpl - 4 * f->samples;
if (jump >= 0) {
More information about the asterisk-commits
mailing list