From fdbf63e86e24dd6a6167b6fa54633720f066489a Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 16 Dec 2021 15:22:30 +0100 Subject: [PATCH] MINOR: mux-quic: fix trace on stream creation Replace non-initialized qcs.by_id.key by the id to report the proper stream ID on stream creation. --- 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 c4bd1bfd5e..f7c38c7460 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -40,7 +40,7 @@ struct qcs *qcs_new(struct qcc *qcc, uint64_t id, enum qcs_type type) if (!qcs) goto out; - fprintf(stderr, "%s: stream ID %llu\n", __func__, qcs->by_id.key); + fprintf(stderr, "%s: stream ID %lu\n", __func__, id); qcs->qcc = qcc; qcs->cs = NULL; -- 2.47.3