mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
libc/netdb: Fix nxstyle issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -311,7 +311,7 @@ int lib_hostfile_lookup(FAR const void *addr, socklen_t len, int type,
|
||||
goto errorout_with_stream;
|
||||
}
|
||||
}
|
||||
else if (nread > 0 && len == host->h_length && type == host->h_addrtype)
|
||||
else if (len == host->h_length && type == host->h_addrtype)
|
||||
{
|
||||
/* We successfully read the entry and the type and size of the
|
||||
* address is good. Now compare the addresses:
|
||||
|
||||
Reference in New Issue
Block a user