]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add error variable to loop condition
authorTim Kosse <tim.kosse@filezilla-project.org>
Mon, 23 Jan 2017 17:51:03 +0000 (18:51 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Jan 2017 14:03:09 +0000 (14:03 +0000)
commit4548f22b3811cbd59dd2f19fe80351bb12c9f3b8
treeabe61932223d430c7e609eddc957edc9574c8872
parent0249dd0a312f456452de834e3c7b9b94ec80fce4
Add error variable to loop condition

In case of connection errors before and during the handshake,
net_select_result is retrying with the next address of the server. It
however was immediately going to the last address as it was not
checking the return value of try_connect for all intermediate
addresses.
unix/uxnet.c
windows/winnet.c