simon-git: putty (master): putty.git

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Dec 11 22:31:31 GMT 2016


TL;DR:
  24a4340 Fix a compile failure with NO_IPV6.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      putty.git
Date:           2016-12-11 22:31:31

commit 24a43404b4335a9c037746bc73fab3ffbd4875e1
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=24a43404b4335a9c037746bc73fab3ffbd4875e1;hp=09b74971c768b7d74484040ce155d117aff3f237
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Dec 11 22:27:40 2016 +0000

    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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list