Skip to content

Commit

Permalink
Update xkcp_mon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored Apr 17, 2017
1 parent b4deff1 commit b6f7df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xkcp_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void xkcp_mon_accept_cb(struct evconnlistener *listener, evutil_socket_t fd,
struct sockaddr *a, int slen, void *param)
{
struct bufferevent *b_in = NULL;
struct event_base *base = param;
struct event_base *base = evconnlistener_get_base(listener);

b_in = bufferevent_socket_new(base, fd,
BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS);
Expand Down

0 comments on commit b6f7df0

Please sign in to comment.