[Freeswitch-svn] [commit] r4164 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Thu Feb 8 10:09:52 EST 2007
Author: anthm
Date: Thu Feb 8 10:09:51 2007
New Revision: 4164
Modified:
freeswitch/trunk/src/switch_buffer.c
Log:
update
Modified: freeswitch/trunk/src/switch_buffer.c
==============================================================================
--- freeswitch/trunk/src/switch_buffer.c (original)
+++ freeswitch/trunk/src/switch_buffer.c Thu Feb 8 10:09:51 2007
@@ -144,10 +144,9 @@
reading = buffer->used;
}
- memmove(buffer->data, buffer->data + reading, reading);
- buffer->head = buffer->data;
- buffer->used -= reading;
- buffer->actually_used = buffer->used;
+ buffer->used -= reading;
+ buffer->head += reading;
+
return buffer->used;
}
More information about the Freeswitch-svn
mailing list