Author :
Nick Mathewson
Date :
2010-05-28 15:05:32
Hash :3467f2fa Message :Fix logic in correcting high values from FIONREAD
The old logic made sense back when buffer.c was an enormous linear
buffer, but it doesn't make any sense for the chain-based
implementation.
This patch also refactors the ioctl{socket}? call into its own function.