From f93326389ccb1f7b2859ee9ca7ffca2347c36b4f Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Mon, 24 Apr 2017 13:31:56 +0800 Subject: [PATCH] Update xkcp_server.c --- xkcp_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkcp_server.c b/xkcp_server.c index f51193a..ecc05fe 100644 --- a/xkcp_server.c +++ b/xkcp_server.c @@ -137,7 +137,7 @@ static void accept_client_data(const int xkcpfd, struct event_base *base, debug(LOG_DEBUG, "accept_new_client: [%s:%s] conv [%d] len [%d]", host, serv, conv, len); if (get_ptr_by_str(xkcp_hash, key, &task_list) == HASHOK) { //old client - task = get_kcp_from_conv(conv, task_list); + task = get_task_from_conv(conv, task_list); debug(LOG_DEBUG, "old client, task is %d", task!=NULL?1:0); if (!task) { // new tcp connection