Skip to content

Commit

Permalink
testing for logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Sep 25, 2024
1 parent ea18da3 commit 301fe94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ void conn_close_idle(conn *c) {

static void _conn_event_readd(conn *c) {
c->ev_flags = EV_READ | EV_PERSIST;
event_del(&c->event);
event_set(&c->event, c->sfd, c->ev_flags, event_handler, (void *)c);
event_base_set(c->thread->base, &c->event);

Expand Down

0 comments on commit 301fe94

Please sign in to comment.