improvement code

This commit is contained in:
lxsang 2021-01-02 20:12:51 +01:00
parent e3fb9a961a
commit e43886d044
2 changed files with 0 additions and 2 deletions

Binary file not shown.

2
wvnc.c
View File

@ -673,7 +673,6 @@ void *handle(void *data)
{ {
pthread_detach(th); pthread_detach(th);
task = antd_create_task(NULL, NULL, NULL, time(NULL)); task = antd_create_task(NULL, NULL, NULL, time(NULL));
task->priority++;
return task; return task;
} }
} }
@ -682,7 +681,6 @@ void *handle(void *data)
antd_error(cl, 400, "Please use a websocket connection"); antd_error(cl, 400, "Please use a websocket connection");
} }
task = antd_create_task(NULL, (void *)rq, NULL, rq->client->last_io); task = antd_create_task(NULL, (void *)rq, NULL, rq->client->last_io);
task->priority++;
return task; return task;
//LOG("%s\n", "EXIT Streaming.."); //LOG("%s\n", "EXIT Streaming..");
} }