Skip to content

Commit

Permalink
Remove bad copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
widgetii committed Oct 12, 2022
1 parent c2ecb4a commit e8f5a61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e8f5a61

Please sign in to comment.