X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/4a0b6d6164ce80aa9c7b160080e2995eec2fa2ce..c18ed0977b860ee7f35b35c239812355b476a31b:/windows/winsftp.c diff --git a/windows/winsftp.c b/windows/winsftp.c index 5293e00d..f3c0a6fb 100644 --- a/windows/winsftp.c +++ b/windows/winsftp.c @@ -490,8 +490,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]);