Remove bad copy-paste

This commit is contained in:
Dmitry Ilyin 2022-10-12 22:15:21 +03:00
parent c2ecb4acb5
commit e8f5a61d6d

1
ws.c
View File

@ -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) {