mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 09:45:18 +08:00
net/socket: Missing semicolon in last fstat() change.
This commit is contained in:
@@ -168,7 +168,7 @@ int net_fstat(int sockfd, FAR struct stat *buf)
|
||||
/* We need the length of the IP header */
|
||||
|
||||
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_IPv6)
|
||||
iplen = (conn->domain == PF_INET) ? IPv4_HDRLEN : IPv6_HDRLEN
|
||||
iplen = (conn->domain == PF_INET) ? IPv4_HDRLEN : IPv6_HDRLEN;
|
||||
#elif defined(CONFIG_NET_IPv4)
|
||||
iplen = IPv4_HDRLEN;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user