mirror of
https://github.com/curl/curl.git
synced 2026-08-01 01:38:09 +03:00
curlx: promote Curl_fseeko() to curlx_fseek(), use it in src
- tool_formparse: replace truncated `fseek` with `curlx_fseek`.
- tool_operate: replace truncated `fseek` with `curlx_fseek`.
- tool_paramhlp: replace local duplicate `myfseek`, with `curlx_fseek`.
Follow-up to 4fb12f2891 #19100
Closes #19107
This commit is contained in:
parent
b9b8a7a5df
commit
f32451c12b
8 changed files with 24 additions and 36 deletions
|
|
@ -37,6 +37,7 @@ struct Curl_easy;
|
|||
#include "sendf.h"
|
||||
#include "strdup.h"
|
||||
#include "rand.h"
|
||||
#include "curlx/fopen.h"
|
||||
#include "curlx/warnless.h"
|
||||
|
||||
/* The last 2 #include files should be in this order */
|
||||
|
|
@ -860,7 +861,7 @@ CURLcode Curl_getformdata(CURL *data,
|
|||
#endif
|
||||
result = curl_mime_data_cb(part, (curl_off_t) -1,
|
||||
(curl_read_callback) fread,
|
||||
Curl_fseeko,
|
||||
curlx_fseek,
|
||||
NULL, (void *) stdin);
|
||||
#if defined(__clang__) && __clang_major__ >= 16
|
||||
#pragma clang diagnostic pop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue