From 86d1a677fd310d7d90d6f7545c02a4bd68e1d955 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 4 Jun 2025 09:49:23 +0300 Subject: libcurl: update to 8.14.0 --- libs/libcurl/src/rename.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/libcurl/src/rename.c') diff --git a/libs/libcurl/src/rename.c b/libs/libcurl/src/rename.c index 89eab2e057..f4f5ac13b0 100644 --- a/libs/libcurl/src/rename.c +++ b/libs/libcurl/src/rename.c @@ -29,8 +29,8 @@ #if (!defined(CURL_DISABLE_HTTP) || !defined(CURL_DISABLE_COOKIES)) || \ !defined(CURL_DISABLE_ALTSVC) -#include "curl_multibyte.h" -#include "timeval.h" +#include "curlx/multibyte.h" +#include "curlx/timeval.h" /* The last 3 #include files should be in this order */ #include "curl_printf.h" @@ -45,7 +45,7 @@ int Curl_rename(const char *oldpath, const char *newpath) MoveFileEx() will overwrite and is usually atomic, however it fails when there are open handles to the file. */ const int max_wait_ms = 1000; - struct curltime start = Curl_now(); + struct curltime start = curlx_now(); TCHAR *tchar_oldpath = curlx_convert_UTF8_to_tchar(oldpath); TCHAR *tchar_newpath = curlx_convert_UTF8_to_tchar(newpath); for(;;) { @@ -55,7 +55,7 @@ int Curl_rename(const char *oldpath, const char *newpath) curlx_unicodefree(tchar_newpath); break; } - diff = Curl_timediff(Curl_now(), start); + diff = curlx_timediff(curlx_now(), start); if(diff < 0 || diff > max_wait_ms) { curlx_unicodefree(tchar_oldpath); curlx_unicodefree(tchar_newpath); -- cgit v1.2.3