]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Fix compiling the testsuite
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Jun 2025 07:39:47 +0000 (07:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Jun 2025 07:39:47 +0000 (07:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/testsuite.c

index 9807c64b16510529b351313311903644e5ec01bc..f61a3a53ec808b9af0e9dc5ec7d62b5eefa842fd 100644 (file)
@@ -85,7 +85,7 @@ static int test_run(int i, struct test* t) {
 
        // Create a HTTP client (if requested)
        if (t->flags & TEST_WANTS_HTTPCLIENT) {
-               r = pakfire_httpclient_create(&t->httpclient, t->ctx);
+               r = pakfire_httpclient_create(&t->httpclient, t->ctx, 0);
                if (r < 0) {
                        LOG("ERROR: Could not initialize the HTTP client: %s\n", strerror(-r));
                        goto ERROR;