]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: qpack: fix build with QPACK_DEBUG
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jun 2022 07:28:50 +0000 (09:28 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jun 2022 08:15:58 +0000 (10:15 +0200)
The local variable 't' was renamed 'static_tbl'. Fix its name in the
qpack_debug_printf() statement which is activated only with QPACK_DEBUG
mode.

No need to backport as this was introduced in current dev branch.

src/qpack-dec.c

index 085cf2f62c248cee9fcdcb8e95b062043f6f56c6..4ea688c5564d588043aa83dadc026549e3024b62 100644 (file)
@@ -314,7 +314,7 @@ int qpack_decode_fs(const unsigned char *raw, uint64_t len, struct buffer *tmp,
                                ABORT_NOW();
                        }
 
-                       qpack_debug_printf(stderr,  " t=%d index=%llu", !!t, (unsigned long long)index);
+                       qpack_debug_printf(stderr,  " t=%d index=%llu", !!static_tbl, (unsigned long long)index);
                }
                else if (efl_type & QPACK_LFL_WNR_BIT) {
                        /* Literal field line with name reference */