]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - windows/winnet.c
Fix another error-reporting bug, in which sk_newlistener would fail to
authorSimon Tatham <anakin@pobox.com>
Wed, 14 Nov 2012 18:32:09 +0000 (18:32 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 14 Nov 2012 18:32:09 +0000 (18:32 +0000)
commit3e22c99c9a3c28e042f2dc3a50fadf95e7c277e7
tree9ca10d8f8e0446fcb5120a41a5ece2d561f224b1
parent06b51312c1ec70e9120c41f7b09f560ebacc6e35
Fix another error-reporting bug, in which sk_newlistener would fail to
capture the error code if listen() returned an error, and instead pass
0 (saved from the previous successful bind) to winsock_error_string.

[originally from svn r9708]
windows/winnet.c