mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
能测试添加, 能获取
This commit is contained in:
@@ -200,7 +200,7 @@ exit:
|
||||
static int HttpGetTasks(httpd_request_t *req)
|
||||
{
|
||||
pTimedTask pt = (pTimedTask)malloc(sizeof(struct TimedTask));
|
||||
pt->time = time(NULL);
|
||||
pt->time = time(NULL) + 5;
|
||||
pt->socket_idx = 5;
|
||||
pt->on = 0;
|
||||
AddTask(pt);
|
||||
|
||||
Reference in New Issue
Block a user