From: Amaury Denoyelle Date: Thu, 16 Dec 2021 14:22:30 +0000 (+0100) Subject: MINOR: mux-quic: fix trace on stream creation X-Git-Tag: v2.6-dev1~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdbf63e86e24dd6a6167b6fa54633720f066489a;p=thirdparty%2Fhaproxy.git 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. --- 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;