]> git.ipfire.org Git - pakfire.git/commitdiff
client: Don't let the HTTP client think it is running standalone
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Jun 2025 16:13:27 +0000 (16:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Jun 2025 16:13:27 +0000 (16:13 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/client.c

index dc293dbd6a096f6b86ff314734c83e32328e88ff..63f7be4c786df2c58404d5205a3261070c425356 100644 (file)
@@ -493,7 +493,7 @@ int pakfire_client_create(struct pakfire_client** client,
                goto ERROR;
 
        // Create a new HTTP client
-       r = pakfire_httpclient_create(&self->httpclient, self->ctx, NULL);
+       r = pakfire_httpclient_create(&self->httpclient, self->ctx, self->loop);
        if (r < 0)
                goto ERROR;