projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the half-hearted attempt to make the utmp helper process drop
[u/mdw/putty]
/
windows
/
winnet.c
diff --git
a/windows/winnet.c
b/windows/winnet.c
index
3a79111
..
c73ace9
100644
(file)
--- a/
windows/winnet.c
+++ b/
windows/winnet.c
@@
-1289,7
+1289,7
@@
Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only,
if (p_listen(s, SOMAXCONN) == SOCKET_ERROR) {
p_closesocket(s);
- ret->error = winsock_error_string(
err
);
+ ret->error = winsock_error_string(
p_WSAGetLastError()
);
return (Socket) ret;
}