X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4a0b6d6164ce80aa9c7b160080e2995eec2fa2ce..2733b5cbea482cab35d9318a4f8a7fbeb845668e:/windows/winsftp.c?ds=sidebyside 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]);