On 27/03/14 15:20, Elie Roudninski wrote:
I wonder why you would move more data than what's left in the
As i understand the situation, there is buffer->length-(offset+len)
bytes left, my question is, why not do this :
memmove(buffer->data + offset, buffer->data + offset + len,
buffer->length - (offset + len));
Thank you Elie, you are correct. A fix has been commited.