mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
oops; coding too quickly on nil-filter patch. Caught by niels.
svn:r1115
This commit is contained in:
parent
cd731b77d7
commit
ac36f4047e
@ -155,7 +155,7 @@ be_null_filter(struct evbuffer *src, struct evbuffer *dst, ssize_t lim,
|
||||
enum bufferevent_flush_mode state, void *ctx)
|
||||
{
|
||||
(void)state;
|
||||
if (evbuffer_remove_buffer(src, src, lim) == 0)
|
||||
if (evbuffer_remove_buffer(src, dst, lim) == 0)
|
||||
return BEV_OK;
|
||||
else
|
||||
return BEV_ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user