mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
system_win32: replace manual init code with curlx_now_init() call
The code actual init code remains identical after this patch. To make it
clearer where this initialization is called from, and to dedupe code.
Follow-up to b17ef873ae #18009
Closes #20852
This commit is contained in:
parent
9a674ee6f7
commit
64d4f5c4b6
@ -27,6 +27,7 @@
|
||||
|
||||
#include "system_win32.h"
|
||||
#include "curl_sspi.h"
|
||||
#include "curlx/timeval.h"
|
||||
|
||||
/* Curl_win32_init() performs Win32 global initialization */
|
||||
CURLcode Curl_win32_init(long flags)
|
||||
@ -76,7 +77,7 @@ CURLcode Curl_win32_init(long flags)
|
||||
}
|
||||
#endif
|
||||
|
||||
QueryPerformanceFrequency(&Curl_freq);
|
||||
curlx_now_init();
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user