From 9296091cf7ecbf0db4f084e03576c7e7b04d7064 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 24 Mar 2022 18:23:29 +0100 Subject: [PATCH] MINOR: mux-quic: convert fin on push-frame as boolean This is only useful to display a clear 0/1 value in the traces. This has no impact beyond this cosmetic change. --- src/mux_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_quic.c b/src/mux_quic.c index 3242d8f8d..a7b312806 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -638,7 +638,7 @@ static int qc_send(struct qcc *qcc) if (b_data(buf) || b_data(out)) { int ret; - char fin = qcs->flags & QC_SF_FIN_STREAM; + char fin = !!(qcs->flags & QC_SF_FIN_STREAM); ret = qcs_push_frame(qcs, out, buf, fin, &frms, qcc->tx.sent_offsets + total);