projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a new back-end function to return the exit code of the remote
[u/mdw/putty]
/
winnet.c
diff --git
a/winnet.c
b/winnet.c
index
991443a
..
1663148
100644
(file)
--- a/
winnet.c
+++ b/
winnet.c
@@
-969,7
+969,7
@@
int select_result(WPARAM wParam, LPARAM lParam)
memset(&isa, 0, sizeof(struct sockaddr_in));
err = 0;
- t = accept(s->s,&isa,&addrlen);
+ t = accept(s->s,
(struct sockaddr *)
&isa,&addrlen);
if (t == INVALID_SOCKET)
{
err = WSAGetLastError();