commit | 692c9386db9a5ddfae166c373ec2b5a7dde14a19 | [log] [tgz] |
---|---|---|
author | Conrad Hoffmann <conrad@soundcloud.com> | Fri Apr 01 20:40:58 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 05 05:56:10 2016 +0200 |
tree | 581c81162f1b1f2207f5449b196d76aa4edcb7ab | |
parent | 9f72a39f68247893bfb1806f5198cd22f1580809 [diff] |
BUG/MINOR: dumpstats: fix write to global chunk This just happens to work as it is the correct chunk, but should be whatever gets passed in as argument. Signed-off-by: Conrad Hoffmann <conrad@soundcloud.com>
diff --git a/src/dumpstats.c b/src/dumpstats.c index 7e2a1d2..da26f80 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c
@@ -3211,7 +3211,7 @@ if (!chunk_strcat(out, ",")) return 0; } - chunk_strcat(&trash, "\n"); + chunk_strcat(out, "\n"); return 1; }