summaryrefslogtreecommitdiffstats
path: root/src/oidc_child/oidc_child_curl.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-20 15:22:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-20 15:22:36 +0000
commit80959e30ce7c57b5865f5358c42a7bcffe450d4d (patch)
treeb740c16852fea65d00f8acfc751765ae7aafbbb4 /src/oidc_child/oidc_child_curl.c
parentReleasing progress-linux version 2.9.4-2~progress7.99u2. (diff)
downloadsssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.tar.xz
sssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.zip
Merging upstream version 2.9.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/oidc_child/oidc_child_curl.c')
-rw-r--r--src/oidc_child/oidc_child_curl.c4
1 files changed, 2 insertions, 2 deletions
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);