[Libevent-users] [PATCH] remove useless argument in bufferevent_read_pressure_cb

Nick Mathewson nickm at freehaven.net
Thu Nov 8 13:22:03 EST 2007


On Thu, Nov 08, 2007 at 11:05:27AM +0100, Charles Longeau wrote:
> Hello,
> 
> In bufferevent_read_pressure_cb() function, the second argument (which
> is size_t old) is not used. Here's a patch which removes it.

Hi, Charles!

bufferevent_read_pressure_cb() may not use the second argument, but
other users of the evbuffer API can and likely do.  (The evbuffer API
is, after all, exported in event.h.)

I don't want to break existing code if I can help it.

yrs,
-- 
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20071108/a71a3944/attachment.bin


More information about the Libevent-users mailing list