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:
parent
04d04381bc
commit
26b7b35307
2 changed files with 0 additions and 2 deletions
|
@ -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.
|
/* 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
|
* We can not support resuming this kind of download; any partial transfers
|
||||||
* will be destroyed */
|
* will be destroyed */
|
||||||
payload->random_partfile = 1;
|
|
||||||
payload->unlink_on_fail = 1;
|
payload->unlink_on_fail = 1;
|
||||||
|
|
||||||
payload->tempfile_openmode = "wb";
|
payload->tempfile_openmode = "wb";
|
||||||
|
|
|
@ -45,7 +45,6 @@ struct dload_payload {
|
||||||
off_t prevprogress;
|
off_t prevprogress;
|
||||||
int force;
|
int force;
|
||||||
int allow_resume;
|
int allow_resume;
|
||||||
int random_partfile;
|
|
||||||
int errors_ok;
|
int errors_ok;
|
||||||
int unlink_on_fail;
|
int unlink_on_fail;
|
||||||
int trust_remote_name;
|
int trust_remote_name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue