diff options
author | jhb <jhb@FreeBSD.org> | 2012-01-04 13:29:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-01-04 13:29:26 +0000 |
commit | fad5a4a690c18f818d0335bfd89701c3eb41c160 (patch) | |
tree | 6640eba298a37fe29cfe31ebb4a88f8c52c77ba7 /sys | |
parent | bae1448c5ef15914b698932090561fc24f630018 (diff) | |
download | FreeBSD-src-fad5a4a690c18f818d0335bfd89701c3eb41c160.zip FreeBSD-src-fad5a4a690c18f818d0335bfd89701c3eb41c160.tar.gz |
Use a helper variable to wrap a long line.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c index fcaeef8..b75e255 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -790,7 +790,8 @@ in_lifaddr_ioctl(struct socket *so, u_long cmd, caddr_t data, continue; if (match.s_addr == 0) break; - candidate.s_addr = ((struct sockaddr_in *)&ifa->ifa_addr)->sin_addr.s_addr; + sin = (struct sockaddr_in *)&ifa->ifa_addr; + candidate.s_addr = sin->sin_addr.s_addr; candidate.s_addr &= mask.s_addr; if (candidate.s_addr == match.s_addr) break; |