Commit 23810976 authored by Morgan Adamiec's avatar Morgan Adamiec Committed by Allan McRae
Browse files

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: Morgan Adamiec's avatarmorganamilo <morganamilo@archlinux.org>
Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
parent 2e83a522
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment