From 80959e30ce7c57b5865f5358c42a7bcffe450d4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 20 May 2024 17:22:36 +0200 Subject: Merging upstream version 2.9.5. Signed-off-by: Daniel Baumann --- src/oidc_child/oidc_child_curl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/oidc_child/oidc_child_curl.c') diff --git a/src/oidc_child/oidc_child_curl.c b/src/oidc_child/oidc_child_curl.c index cf09760..0e48aca 100644 --- a/src/oidc_child/oidc_child_curl.c +++ b/src/oidc_child/oidc_child_curl.c @@ -76,9 +76,9 @@ static size_t write_callback(char *ptr, size_t size, size_t nmemb, struct devicecode_ctx *dc_ctx = (struct devicecode_ctx *) userdata; char *tmp = NULL; - DEBUG(SSSDBG_TRACE_ALL, "%*s\n", (int) realsize, ptr); + DEBUG(SSSDBG_TRACE_ALL, "%.*s\n", (int) realsize, ptr); - tmp = talloc_asprintf(dc_ctx, "%s%*s", + tmp = talloc_asprintf(dc_ctx, "%s%.*s", dc_ctx->http_data == NULL ? "" : dc_ctx->http_data, (int) realsize, ptr); talloc_free(dc_ctx->http_data); -- cgit v1.2.3