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.
This commit is contained in:
Amaury Denoyelle 2022-03-24 18:23:29 +01:00
parent b938b77ade
commit 9296091cf7

View File

@ -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);