mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
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 NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return inet_ntop(af, q, name, namelen);
|
return lws_plat_inet_ntop(af, q, name, namelen);
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue