From 238109760d79924811121fe3e8d08365fbb2774b Mon Sep 17 00:00:00 2001 From: morganamilo Date: Fri, 21 May 2021 14:21:56 +0100 Subject: [PATCH] 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 Signed-off-by: Allan McRae --- lib/libalpm/dload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 3eea998b..2c14841f 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -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);