1
0
Fork 0
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:
Lucas Terra 2016-04-17 19:26:04 -03:00
parent 57bb922f56
commit 9a5629a162

View file

@ -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