Skip to content

Commit

Permalink
libevent #3
Browse files Browse the repository at this point in the history
  • Loading branch information
msaf1980 committed Feb 10, 2020
1 parent 8487d06 commit c100f84
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,10 +931,7 @@ __dispatch_addlistener(dispatcher *d, listener *lsnr)
pthread_rwlock_unlock(&listenerslock);
return 1;
}
//socks->lsnr = lsnr;
// ??
//ev_io_init(&socks->ev, dispatch_accept_cb, socks->sock, EV_READ);
//ev_io_start(loop, &socks->ev);
event_add(socks->ev, NULL);
}
break;
}
Expand Down

0 comments on commit c100f84

Please sign in to comment.