From: Michael Tremer Date: Wed, 25 Jun 2025 10:02:21 +0000 (+0000) Subject: httpclient: Remove launch protection without transfers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d598d9114282d30b4edcedcd1eadaac7233f1ea0;p=pakfire.git httpclient: Remove launch protection without transfers We need this so that we can lazy-initialize the client. Signed-off-by: Michael Tremer --- 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)