MINOR: quic: simplify qc_parse_pkt_frms() return path
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Nov 2024 17:17:01 +0000 (18:17 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2024 14:54:11 +0000 (15:54 +0100)
commit9c41bc6d2af64fa3af8c35c21d6a34a6f75d726b
tree89d4ae48470171f317560ad23a1d7cdb73348fc5
parent05658956ae53e2d027ade7f237c64d79cffc1c4a
MINOR: quic: simplify qc_parse_pkt_frms() return path

Change qc_parse_pkt_frms() return path for normal and error cases. Most
notably, it allows to remove local variable ret as now return value is
hardcoded on normal and err label. This also allows to define a
different trace for error leaving code.

(cherry picked from commit 498a99a84956535a9ce2a61cb908d0fc81165606)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/quic_rx.c