Fix inet_ntop linking error on Windows
This commit is contained in:
parent
980614035f
commit
19f61e59b0
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,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