[Freeswitch-svn] [commit] r5758 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Tue Sep 25 11:49:19 EDT 2007


Author: anthm
Date: Tue Sep 25 11:49:19 2007
New Revision: 5758

Modified:
   freeswitch/trunk/src/switch_buffer.c

Log:
tweak

Modified: freeswitch/trunk/src/switch_buffer.c
==============================================================================
--- freeswitch/trunk/src/switch_buffer.c	(original)
+++ freeswitch/trunk/src/switch_buffer.c	Tue Sep 25 11:49:19 2007
@@ -157,7 +157,7 @@
 {
 	switch_size_t len;
 	if ((len = switch_buffer_read(buffer, data, datalen)) == 0) {
-		if (buffer->loops >= 0) {
+		if (buffer->loops > 0) {
 			buffer->loops--;
 		}
 		if (buffer->loops == 0) {



More information about the Freeswitch-svn mailing list