From d598d9114282d30b4edcedcd1eadaac7233f1ea0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 Jun 2025 10:02:21 +0000 Subject: [PATCH] httpclient: Remove launch protection without transfers We need this so that we can lazy-initialize the client. Signed-off-by: Michael Tremer --- src/pakfire/httpclient.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pakfire/httpclient.c b/src/pakfire/httpclient.c index 81301be7..f7707821 100644 --- a/src/pakfire/httpclient.c +++ b/src/pakfire/httpclient.c @@ -750,12 +750,6 @@ int pakfire_httpclient_run(struct pakfire_httpclient* self, const char* title) { return -ENOTSUP; } - // Cannot run without any transfers - if (TAILQ_EMPTY(&self->xfers)) { - DEBUG(self->ctx, "Skipping running HTTP client without any transfers\n"); - return 0; - } - // Set the title r = pakfire_progress_set_title(self->progress, "%s", title); if (r) -- 2.47.3