mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2024-12-26 03:48:21 +01:00
improvement code
This commit is contained in:
parent
e3fb9a961a
commit
e43886d044
BIN
dist/wvnc-0.2.5a.tar.gz
vendored
BIN
dist/wvnc-0.2.5a.tar.gz
vendored
Binary file not shown.
2
wvnc.c
2
wvnc.c
@ -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..");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user