X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinsftp.c;h=f3c0a6fbdb989a4418c4c9a9a107907f301e8917;hb=12e019bafc75cb441e965c63e15dfceeaf71ca1e;hp=5293e00dcdd79fe76fbda6d0075d9d2b663f444e;hpb=f0a9c33f25ab12fa0a2430ea7c305596c4db1bac;p=PuTTY.git 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]);