mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
curl: make the URL indexes 64 bit
Otherwise we could misbehave already at 2 billion URLs and we can't have that. A few of the counters are already correctly using the right type. Closes #18096
This commit is contained in:
parent
d413ed2d40
commit
98bcb885fe
4 changed files with 14 additions and 11 deletions
|
|
@ -42,7 +42,7 @@ struct per_transfer {
|
|||
struct curltime start; /* start of this transfer */
|
||||
struct curltime retrystart;
|
||||
char *url;
|
||||
unsigned int urlnum; /* the index of the given URL */
|
||||
curl_off_t urlnum; /* the index of the given URL */
|
||||
char *outfile;
|
||||
int infd;
|
||||
struct ProgressData progressbar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue