mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
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>
This commit is contained in:
parent
9f72a39f68
commit
692c9386db
@ -3211,7 +3211,7 @@ static int stats_dump_fields_csv(struct chunk *out, const struct field *stats)
|
|||||||
if (!chunk_strcat(out, ","))
|
if (!chunk_strcat(out, ","))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
chunk_strcat(&trash, "\n");
|
chunk_strcat(out, "\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user