]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix a compile failure with NO_IPV6.
authorSimon Tatham <anakin@pobox.com>
Sun, 11 Dec 2016 22:27:40 +0000 (22:27 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 11 Dec 2016 22:27:40 +0000 (22:27 +0000)
commit24a43404b4335a9c037746bc73fab3ffbd4875e1
treec21cd51594a0fc6cbc3a80a681c60f84eda15f20
parent09b74971c768b7d74484040ce155d117aff3f237
Fix a compile failure with NO_IPV6.

A user points out that buf[] in sk_tcp_peer_info is only used in the
IPv6 branch of an ifdef, and is declared with a size of
INET6_ADDRSTRLEN, which won't be defined in NO_IPV6 mode. So moving
the definition inside another IPv6-only ifdef fixes the resulting
build failure.
windows/winnet.c