Fix another error-reporting bug, in which sk_newlistener would fail to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 14 Nov 2012 18:32:09 +0000 (18:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 14 Nov 2012 18:32:09 +0000 (18:32 +0000)
commit6f7fb2984ef3535f9d697e291afd3d0f264e2c78
tree9ca10d8f8e0446fcb5120a41a5ece2d561f224b1
parenta1e50b70a5fbeb472d136794e052f02266571fcf
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9708 cda61777-01e9-0310-a592-d414129be87e
windows/winnet.c