Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/liudf0716/xkcp_client
Browse files Browse the repository at this point in the history
  • Loading branch information
Dengfeng Liu committed Apr 24, 2017
2 parents 5ef02bd + f933263 commit 54fe9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xkcp_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54fe9f7

Please sign in to comment.