diff options
author | bz <bz@FreeBSD.org> | 2007-11-28 13:33:27 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2007-11-28 13:33:27 +0000 |
commit | 621536d5d9c65a709d234562d0458a3adcfc7bcb (patch) | |
tree | f0281c7ff229194d3bb485002169b5227bf305de /sys/netinet/tcp_output.c | |
parent | 373ab6f7ab883fb6e0d82e3dd5d962e09484e866 (diff) | |
download | FreeBSD-src-621536d5d9c65a709d234562d0458a3adcfc7bcb.zip FreeBSD-src-621536d5d9c65a709d234562d0458a3adcfc7bcb.tar.gz |
Let opt be an array. Though &opt[0] == opt == &opt, &opt is highly
confusing and hard to understand so change it to just opt and
remove the extra cast no longer/not needed.
Discussed with: rwatson
MFC after: 3 days
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index a63e1bb..64a95a5 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -693,7 +693,7 @@ send: #endif /* TCP_SIGNATURE */ /* Processing the options. */ - hdrlen += optlen = tcp_addoptions(&to, (u_char *)&opt); + hdrlen += optlen = tcp_addoptions(&to, opt); #ifdef TCP_SIGNATURE sigoff = to.to_signature - (u_char *)&to; |