From: Amaury Denoyelle Date: Tue, 12 Apr 2022 14:40:52 +0000 (+0200) Subject: BUG/MINOR: h3: fix build with DEBUG_H3 X-Git-Tag: v2.6-dev6~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb970422546c0db08b244d5e5a12a795a605dd64;p=thirdparty%2Fhaproxy.git BUG/MINOR: h3: fix build with DEBUG_H3 qcs by_id field has been replaced by a new field named "id". Adjust the h3_debug_printf traces. This is the case since the introduction of the qc_stream_desc type. --- diff --git a/src/h3.c b/src/h3.c index e39c54135f..2d450d8b80 100644 --- a/src/h3.c +++ b/src/h3.c @@ -231,7 +231,7 @@ static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx) struct buffer *rxbuf = &qcs->rx.buf; int ret; - h3_debug_printf(stderr, "%s: STREAM ID: %llu\n", __func__, qcs->by_id.key); + h3_debug_printf(stderr, "%s: STREAM ID: %lu\n", __func__, qcs->id); if (!b_data(rxbuf)) return 0; @@ -333,7 +333,7 @@ static int h3_control_recv(struct h3_uqs *h3_uqs, void *ctx) struct buffer *rxbuf = &h3_uqs->qcs->rx.buf; struct h3 *h3 = ctx; - h3_debug_printf(stderr, "%s STREAM ID: %llu\n", __func__, h3_uqs->qcs->by_id.key); + h3_debug_printf(stderr, "%s STREAM ID: %lu\n", __func__, h3_uqs->qcs->id); if (!b_data(rxbuf)) return 1;