]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
msh3: print boolean value as text representation
authorDaniel Gustafsson <daniel@yesql.se>
Fri, 29 Apr 2022 09:40:25 +0000 (11:40 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Fri, 29 Apr 2022 09:40:25 +0000 (11:40 +0200)
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 <nibanks@microsoft.com>
lib/vquic/msh3.c

index be18e6e83c663e34d0f34701f7785cc153c7be7c..6b710e81f4fcccbccb18bb7804b016830025065e 100644 (file)
@@ -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? */