win32: increate the MsgWaitForMultipleObjects timeout since the main loop is working...
authorJay Sorg <jay.sorg@gmail.com>
Mon, 1 Oct 2012 19:09:28 +0000 (12:09 -0700)
committerJay Sorg <jay.sorg@gmail.com>
Mon, 1 Oct 2012 19:09:28 +0000 (12:09 -0700)
client/Windows/wfreerdp.c

index 6bc8a59..17fc9a9 100644 (file)
@@ -526,7 +526,7 @@ int wfreerdp_run(freerdp* instance)
                }
 
                /* do the wait */
-               if (MsgWaitForMultipleObjects(fds_count, fds, FALSE, 1, QS_ALLINPUT) == WAIT_FAILED)
+               if (MsgWaitForMultipleObjects(fds_count, fds, FALSE, 1000, QS_ALLINPUT) == WAIT_FAILED)
                {
                        printf("wfreerdp_run: WaitForMultipleObjects failed: 0x%04X\n", GetLastError());
                        break;