]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Don't pass WinSock error codes to strerror.
authorSimon Tatham <anakin@pobox.com>
Wed, 9 Oct 2013 18:36:56 +0000 (18:36 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 9 Oct 2013 18:36:56 +0000 (18:36 +0000)
commitcc46a0d94e05c457742b62c7bb0894b22d2b20d2
treeb16ebf9caedf2d4d0084cc0cf90054482648dbc7
parentfc0f622f1086501012c316386c20d86f3ec2fbe1
Don't pass WinSock error codes to strerror.

Martin Prikryl helpfully points out that when I revamped the socket
error mechanism using toplevel callbacks, I also accidentally passed
the error code to the wrong function. Use winsock_error_string instead.

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