mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
async dns: android: fix build error
https://github.com/warmcat/libwebsockets/issues/1783
This commit is contained in:
parent
cb2b0e88b2
commit
fdbfafd1b5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ lws_plat_asyncdns_init(struct lws_context *context, lws_sockaddr46 *sa46)
|
|||
}
|
||||
|
||||
ip32 = (i[0] << 24) | (i[1] << 16) | (i[2] << 8) | i[3];
|
||||
n = ip32 == sa->sin_addr.s_addr;
|
||||
n = ip32 == sa46->sa4.sin_addr.s_addr;
|
||||
sa46->sa4.sin_family = AF_INET;
|
||||
sa46->sa4.sin_addr.s_addr = ip32;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue