From af089feb5f02c3af34fe8a54bfeb00391fc6b90c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Oct 2023 09:44:13 +0000 Subject: [PATCH] cli: client: Fix passing context pointer Signed-off-by: Michael Tremer --- src/cli/pakfire-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/pakfire-client.c b/src/cli/pakfire-client.c index 782f03c84..512add586 100644 --- a/src/cli/pakfire-client.c +++ b/src/cli/pakfire-client.c @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) { pakfire_ctx_set_progress_callback(ctx, cli_setup_progressbar, NULL); // Parse the command line and run any commands - r = cli_parse(NULL, commands, args_doc, doc, NULL, argc, argv, &ctx); + r = cli_parse(NULL, commands, args_doc, doc, NULL, argc, argv, ctx); ERROR: if (ctx) -- 2.47.3