projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp of the local X11 connection code. We now parse X display
[u/mdw/putty]
/
windows
/
winsftp.c
diff --git
a/windows/winsftp.c
b/windows/winsftp.c
index
5293e00
..
94d04a7
100644
(file)
--- a/
windows/winsftp.c
+++ b/
windows/winsftp.c
@@
-19,6
+19,12
@@
int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
return ret;
}
return ret;
}
+void platform_get_x11_auth(struct X11Display *display, const Config *cfg)
+{
+ /* Do nothing, therefore no auth. */
+}
+const int platform_uses_x11_unix_by_default = TRUE;
+
/* ----------------------------------------------------------------------
* File access abstraction.
*/
/* ----------------------------------------------------------------------
* File access abstraction.
*/
@@
-490,8
+496,7
@@
int do_eventsel_loop(HANDLE other_event)
else
otherindex = -1;
else
otherindex = -1;
- n = MsgWaitForMultipleObjects(nallhandles, handles, FALSE, ticks,
- QS_POSTMESSAGE);
+ n = WaitForMultipleObjects(nallhandles, handles, FALSE, ticks);
if ((unsigned)(n - WAIT_OBJECT_0) < (unsigned)nhandles) {
handle_got_event(handles[n - WAIT_OBJECT_0]);
if ((unsigned)(n - WAIT_OBJECT_0) < (unsigned)nhandles) {
handle_got_event(handles[n - WAIT_OBJECT_0]);