summaryrefslogtreecommitdiffstats
path: root/src/oidc_child/oidc_child_curl.c
diff options
context:
space:
mode:
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);