From 1cc00a8fcdd4c4abf8e0191101ba4046b3b2d263 Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Mon, 24 Apr 2017 16:48:55 +0800 Subject: [PATCH] Update xkcp_util.c --- xkcp_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xkcp_util.c b/xkcp_util.c index d48b371..19f9cc1 100644 --- a/xkcp_util.c +++ b/xkcp_util.c @@ -218,9 +218,9 @@ void xkcp_tcp_read_cb(struct bufferevent *bev, ikcpcb *kcp) static void dump_task(struct xkcp_task *task, struct bufferevent *bev, int index) { struct evbuffer *output = bufferevent_get_output(bev); evbuffer_add_printf(output, - "[%d]\t connection [%d]\t conv [%d]:\n --->state [%d] nrcv_buf [%d]" - "nsnd_buf [%d] nrcv_que [%d] nsnd_que [%d] rcv_nxt [%d] probe [%d]" - "peek data [%d] stream [%d]\n", + "[%d]\t connection [%d]\t conv [%d]:\n --->state [%d] nrcv_buf [%d] " + "nsnd_buf [%d] nrcv_que [%d] nsnd_que [%d] rcv_nxt [%d] probe [%d] " + "peek [%d] stream [%d]\n", index, bufferevent_getfd(task->bev), task->kcp->conv, task->kcp->state, task->kcp->nrcv_buf, task->kcp->nsnd_buf, task->kcp->nrcv_que, task->kcp->nsnd_que, task->kcp->rcv_nxt, task->kcp->probe,