From 3038acbc9ef707afbf9f22fb8abc8e2dfc6e416e Mon Sep 17 00:00:00 2001 From: zogodo <742782908@qq.com> Date: Thu, 12 Dec 2019 22:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E5=B8=B8=E6=A3=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TC1/timed_task/timed_task.c | 1 + 1 file changed, 1 insertion(+) diff --git a/TC1/timed_task/timed_task.c b/TC1/timed_task/timed_task.c index a940bc8..8682849 100644 --- a/TC1/timed_task/timed_task.c +++ b/TC1/timed_task/timed_task.c @@ -59,6 +59,7 @@ char* GetTaskStr() pTimedTask tmp_tsk = task_top; char* tmp_str = str; tmp_str[0] = '['; + tmp_str++; while (tmp_tsk) { sprintf(tmp_str, "{time:%d,socket_index:%d,on:%d},",