X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4a0b6d6164ce80aa9c7b160080e2995eec2fa2ce..8def70c3ec6f81f95673c0de67a75b5a6b2e9e1c:/windows/winsftp.c diff --git a/windows/winsftp.c b/windows/winsftp.c index 5293e00d..94d04a75 100644 --- 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; } +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. */ @@ -490,8 +496,7 @@ int do_eventsel_loop(HANDLE other_event) 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]);