HI all, there is it is a small patch which fix a wrong calloc call, I think.
Kind regards.
From 9ae38b310a9cb317373ec5748b1c5bd99d7bc986 Mon Sep 17 00:00:00 2001 From: David CARLIER <[email protected]> Date: Wed, 25 Nov 2015 15:27:36 +0000 Subject: [PATCH] BUG/MINOR: proxy: calloc call inverted arguments Nothing major but a human typo mistake. --- src/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.c b/src/proxy.c index 194d4bd..3939bee 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -414,7 +414,7 @@ static int proxy_parse_declare(char **args, int section, struct proxy *curpx, } /* register the capture. */ - hdr = calloc(sizeof(struct cap_hdr), 1); + hdr = calloc(1, sizeof(struct cap_hdr)); hdr->name = NULL; /* not a header capture */ hdr->namelen = 0; hdr->len = len; -- 2.6.3

