From: Dmitry Ilyin Date: Wed, 12 Oct 2022 19:15:21 +0000 (+0300) Subject: Remove bad copy-paste X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f5a61d6d08169adcb7ee73f50963b97d433ed5;p=libevent Remove bad copy-paste --- diff --git a/ws.c b/ws.c index c8a806ce..de5cf6de 100644 --- a/ws.c +++ b/ws.c @@ -271,7 +271,6 @@ ws_evhttp_read_cb(struct bufferevent *bufev, void *arg) struct evbuffer *input = bufferevent_get_input(evws->bufev); bufferevent_incref_and_lock_(evws->bufev); - bufferevent_disable(evws->bufev, EV_WRITE); while ((in_len = evbuffer_get_length(input))) { unsigned char *data = evbuffer_pullup(input, in_len); if (data == NULL) {