Commit c87272b7b91b4f443092eb2a81f03c83457ab03a

Nick Mathewson 2010-03-26T14:51:39

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.