Created
April 21, 2021 19:28
-
-
Save hardening/adef8d786376cab781d09ec38aa07e48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/winpr/libwinpr/synch/timer.c b/winpr/libwinpr/synch/timer.c | |
index bb2fb5444..4204f59ef 100644 | |
--- a/winpr/libwinpr/synch/timer.c | |
+++ b/winpr/libwinpr/synch/timer.c | |
@@ -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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment