diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-03-26 14:51:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-03-26 14:51:39 -0400 |
commit | c87272b7b91b4f443092eb2a81f03c83457ab03a (patch) | |
tree | 731b67637a3e246d53aff3dddf2bd0792bfab98e /epoll.c | |
parent | 5c0ebb33f4a646919267fbca11c36eba24003561 (diff) | |
download | libevent-c87272b7b91b4f443092eb2a81f03c83457ab03a.tar.gz |
Make evbuffer_prepend handle empty buffers better
If the first chunk of a buffer is empty, and we're told to prepend to
the buffer, we should be willing to use the entire first chunk.
Instead, we were dependent on the value of chunk->misalign.
Diffstat (limited to 'epoll.c')
0 files changed, 0 insertions, 0 deletions