mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-23 19:24:20 +01:00
all: remove pthread
This commit is contained in:
@@ -61,10 +61,11 @@ check_auth(struct lws *wsi, struct pss_http *pss) {
|
||||
return AUTH_FAIL;
|
||||
}
|
||||
|
||||
void access_log(struct lws *wsi, const char *path) {
|
||||
void
|
||||
access_log(struct lws *wsi, const char *path) {
|
||||
char rip[50];
|
||||
|
||||
#if LWS_LIBRARY_VERSION_MAJOR > 2 || (LWS_LIBRARY_VERSION_MAJOR ==2 && LWS_LIBRARY_VERSION_MINOR >=4)
|
||||
#if LWS_LIBRARY_VERSION_NUMBER >= 2004000
|
||||
lws_get_peer_simple(lws_get_network_wsi(wsi), rip, sizeof(rip));
|
||||
#else
|
||||
char name[100];
|
||||
|
||||
Reference in New Issue
Block a user