1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-05 10:08:08 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5758 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-09-25 15:49:19 +00:00
parent 129f508c8d
commit fdbaad17fe

@ -157,7 +157,7 @@ SWITCH_DECLARE(switch_size_t) switch_buffer_read_loop(switch_buffer_t *buffer, v
{
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) {