From 59d89286d433d8de5c68808189edb27bb65bac9e Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Fri, 29 Apr 2022 11:40:25 +0200 Subject: [PATCH] msh3: print boolean value as text representation Print the boolean value as its string representation instead of with %hhu which isn't a format we typically use. Closes: #8763 Reviewed-by: Nick Banks --- lib/vquic/msh3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vquic/msh3.c b/lib/vquic/msh3.c index be18e6e83c..6b710e81f4 100644 --- a/lib/vquic/msh3.c +++ b/lib/vquic/msh3.c @@ -357,7 +357,7 @@ static void MSH3_CALL msh3_complete(MSH3_REQUEST *Request, void *IfContext, struct HTTP *stream = IfContext; (void)Request; (void)AbortError; - H3BUGF(printf("* msh3_complete, aborted=%hhu\n", Aborted)); + H3BUGF(printf("* msh3_complete, aborted=%s\n", Aborted ? "true" : "false")); msh3_lock_acquire(&stream->recv_lock); if(Aborted) { stream->recv_error = CURLE_HTTP3; /* TODO - how do we pass AbortError? */ -- 2.47.3