mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
winpr: fix #6970
Timer changes were wrong when timerfd support is not available (no valid file descriptor returned by GetFd calls).
This commit is contained in:
@@ -344,6 +344,7 @@ HANDLE CreateWaitableTimerA(LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManua
|
||||
#if defined(TIMER_IMPL_DISPATCH) || defined(TIMER_IMPL_POSIX)
|
||||
if (!winpr_event_init(&timer->event))
|
||||
goto fail;
|
||||
timer->fd = timer->event.fds[0];
|
||||
#endif
|
||||
|
||||
#if defined(TIMER_IMPL_DISPATCH)
|
||||
|
||||
Reference in New Issue
Block a user