[Asterisk-cvs] asterisk channel.c,1.193,1.194

markster at lists.digium.com markster at lists.digium.com
Sat May 14 19:21:07 CDT 2005


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;




More information about the svn-commits mailing list