mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-12 15:33:16 +00:00
Compare commits
1 Commits
6af65b0d86
...
16a2ce284b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
16a2ce284b |
|
@ -406,11 +406,12 @@ os_socket_addr_resolve(const char *host, const char *service,
|
|||
|
||||
res = result;
|
||||
while (res) {
|
||||
if (!is_addrinfo_supported(res)) {
|
||||
res = res->ai_next;
|
||||
continue;
|
||||
}
|
||||
if (addr_info_size > pos) {
|
||||
if (!is_addrinfo_supported(res)) {
|
||||
res = res->ai_next;
|
||||
continue;
|
||||
}
|
||||
|
||||
ret =
|
||||
sockaddr_to_bh_sockaddr(res->ai_addr, &addr_info[pos].sockaddr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user