On Thu, Feb 11, 2010 at 3:28 PM, David M. Irvine <[email protected]> wrote: > I'm thinking of using evbuffer_add_file since it's integration with > sendfile/splice looks really attractive. But I'm a little confused by the > offset and length parameters, specifically their types: offset is defined as > an off_t and length as a size_t. Is there a reason why both parameters > shouldn't be of type off_t? Doing so would make length compatible with > st_size field of the stat struct.
There is no particular reason. We should change it to off_t. Niels. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
