]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Finish the change for [Bug 3786]
authorDave Hart <hart@ntp.org>
Mon, 20 Feb 2023 19:12:24 +0000 (14:12 -0500)
committerDave Hart <hart@ntp.org>
Mon, 20 Feb 2023 19:12:24 +0000 (14:12 -0500)
bk: 63f3c618FGXGVw8kQjhEeiZUeS8WPQ

ports/winnt/ntpd/ntp_iocompletionport.c

index a190cedf00f962ae174e3671ce825bfda49ee55a..0931b0a5a28a63b00c6c9d76f9c9975f4598fbb6 100644 (file)
@@ -268,9 +268,9 @@ init_io_completion_port(void)
        }
 
        /* Initialize the Wait Handles table */
-       WaitHandles[0] = WaitableIoEventHandle;
+       WaitHandles[0] = WaitableTimerHandle;
        WaitHandles[1] = WaitableExitEventHandle; /* exit request */
-       WaitHandles[2] = WaitableTimerHandle;
+       WaitHandles[2] = WaitableIoEventHandle;
        ActiveWaitHandles = 3;
 
        /* Supply ntp_worker.c with function to add or remove a