libalpm: call retry events for sig downlods
Around the same time retry events were added, there was a patch to pass sig download events to the frontend. The retry code was not updated to account for this. Signed-off-by: morganamilo <morganamilo@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
2e83a52205
commit
238109760d
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ static int curl_retry_next_server(CURLM *curlm, CURL *curl, struct dload_payload
|
|||
fseek(payload->localf, 0, SEEK_SET);
|
||||
}
|
||||
|
||||
if(handle->dlcb && !payload->signature) {
|
||||
if(handle->dlcb) {
|
||||
alpm_download_event_retry_t cb_data;
|
||||
cb_data.resume = payload->allow_resume;
|
||||
handle->dlcb(handle->dlcb_ctx, payload->remote_name, ALPM_DOWNLOAD_RETRY, &cb_data);
|
||||
|
|
Loading…
Add table
Reference in a new issue