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
This commit is contained in:
parent
abebe6db7a
commit
4a411b9fcc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user