mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
Fix inet_ntop linking error on Windows
This commit is contained in:
parent
383f38a077
commit
0bc6620f7c
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ lws_get_peer_simple(struct lws *wsi, char *name, int namelen)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return inet_ntop(af, q, name, namelen);
|
||||
return lws_plat_inet_ntop(af, q, name, namelen);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue