Remove random_partfile from payload struct

It is not used any more due to filling the payload structure earlier.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2023-09-18 12:52:08 +10:00
parent 04d04381bc
commit 26b7b35307
2 changed files with 0 additions and 2 deletions

View file

@ -1274,7 +1274,6 @@ int SYMEXPORT alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
/* The URL does not contain a filename, so download to a temporary location.
* We can not support resuming this kind of download; any partial transfers
* will be destroyed */
payload->random_partfile = 1;
payload->unlink_on_fail = 1;
payload->tempfile_openmode = "wb";

View file

@ -45,7 +45,6 @@ struct dload_payload {
off_t prevprogress;
int force;
int allow_resume;
int random_partfile;
int errors_ok;
int unlink_on_fail;
int trust_remote_name;