Skip to content

Commit

Permalink
Update xkcp_util.c
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored May 5, 2017
1 parent 63ea75c commit c0d1556
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xkcp_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ void xkcp_tcp_read_cb(struct bufferevent *bev, ikcpcb *kcp)
nret = ikcp_send(kcp, buf, len);
debug(LOG_INFO, "xkcp_tcp_read_cb : conv [%d] read data from client [%d] len [%d] ikcp_send [%d]",
kcp->conv, bufferevent_getfd(bev), len, nret);
memset(buf, 0, 1024);
}

}
Expand Down

0 comments on commit c0d1556

Please sign in to comment.