From: Thierry FOURNIER Date: Wed, 3 Jun 2015 18:12:04 +0000 (+0200) Subject: BUG/MINOR: debug: display (null) in place of "meth" X-Git-Tag: v1.6-dev2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c2479e1c455e2cc46c02cfc28ea2a185f9a7747;p=thirdparty%2Fhaproxy.git BUG/MINOR: debug: display (null) in place of "meth" The array which contains names of types, miss the METH entry. [wt: should be backported to 1.5 as well] --- diff --git a/src/sample.c b/src/sample.c index 1993255a46..2fd97bbb58 100644 --- a/src/sample.c +++ b/src/sample.c @@ -46,6 +46,7 @@ const char *smp_to_type[SMP_TYPES] = { [SMP_T_IPV6] = "ipv6", [SMP_T_STR] = "str", [SMP_T_BIN] = "bin", + [SMP_T_METH] = "meth", }; /* static sample used in sample_process() when

is NULL */