]> git.ipfire.org Git - pakfire.git/commitdiff
cli: Fix initializing the client
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Jun 2025 15:48:13 +0000 (15:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Jun 2025 15:48:13 +0000 (15:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/lib/pakfire.c

index 8218e0d639ce2e5468129e4c6b3a9bc164540ac6..c1da92fb5723bd77309e00cb23f23d1b22bc1245 100644 (file)
@@ -190,7 +190,7 @@ int cli_setup_client(struct pakfire_client** client, struct cli_global_args* arg
                goto ERROR;
 
        // Connect to the build service
-       r = pakfire_client_create(client, args->ctx, NULL, url, username);
+       r = pakfire_client_create(client, args->ctx, url, username);
        if (r < 0) {
                fprintf(stderr, "Could not setup the build service: %s\n", strerror(-r));
                goto ERROR;