非常棒

This commit is contained in:
zogodo
2019-12-12 22:02:54 +08:00
parent 59219596db
commit 3038acbc9e

View File

@@ -59,6 +59,7 @@ char* GetTaskStr()
pTimedTask tmp_tsk = task_top; pTimedTask tmp_tsk = task_top;
char* tmp_str = str; char* tmp_str = str;
tmp_str[0] = '['; tmp_str[0] = '[';
tmp_str++;
while (tmp_tsk) while (tmp_tsk)
{ {
sprintf(tmp_str, "{time:%d,socket_index:%d,on:%d},", sprintf(tmp_str, "{time:%d,socket_index:%d,on:%d},",