mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
tool_urlglob: use curl_off_t instead of longs
To handle more globs better (especially on Windows) Closes #11224
This commit is contained in:
parent
a1730b6106
commit
0807fd72f9
5 changed files with 31 additions and 26 deletions
|
|
@ -37,11 +37,11 @@ struct State {
|
|||
char *outfiles;
|
||||
char *httpgetfields;
|
||||
char *uploadfile;
|
||||
unsigned long infilenum; /* number of files to upload */
|
||||
unsigned long up; /* upload file counter within a single upload glob */
|
||||
unsigned long urlnum; /* how many iterations this single URL has with ranges
|
||||
curl_off_t infilenum; /* number of files to upload */
|
||||
curl_off_t up; /* upload file counter within a single upload glob */
|
||||
curl_off_t urlnum; /* how many iterations this single URL has with ranges
|
||||
etc */
|
||||
unsigned long li;
|
||||
curl_off_t li;
|
||||
};
|
||||
|
||||
struct OperationConfig {
|
||||
|
|
@ -317,7 +317,7 @@ struct GlobalConfig {
|
|||
bool test_event_based;
|
||||
#endif
|
||||
bool parallel;
|
||||
long parallel_max;
|
||||
unsigned short parallel_max; /* MAX_PARALLEL is the maximum */
|
||||
bool parallel_connect;
|
||||
char *help_category; /* The help category, if set */
|
||||
struct OperationConfig *first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue