1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

optee: avoid using gai_strerror in udp

This commit is contained in:
Andy Green 2019-02-05 21:13:09 +08:00
parent 1d466f332e
commit 419f02ef67

View file

@ -338,6 +338,7 @@ LWS_EXTERN struct lws *
lws_create_adopt_udp(struct lws_vhost *vhost, int port, int flags,
const char *protocol_name, struct lws *parent_wsi)
{
#if !defined(LWS_PLAT_OPTEE)
lws_sock_file_fd_type sock;
struct addrinfo h, *r, *rp;
struct lws *wsi = NULL;
@ -396,6 +397,9 @@ bail1:
bail:
return wsi;
#else
return NULL;
#endif
}
LWS_VISIBLE struct lws *