mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Remove bad copy-paste
This commit is contained in:
parent
c2ecb4acb5
commit
e8f5a61d6d
1
ws.c
1
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user