Skip to content

Commit a7caa14

Browse files
committed
MINOR: stats: Get the right prototype for stats_dump_html_end().
When the stat code was reorganized, and the prototype to stats_dump_html_end() was moved to its own header, it missed the function arguments. Fix that. This should fix issue 2540.
1 parent 64201ad commit a7caa14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/haproxy/stats-html.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ int stats_dump_fields_html(struct buffer *out, const struct field *stats,
1515
struct show_stat_ctx *ctx);
1616
void stats_dump_html_px_hdr(struct stconn *sc, struct proxy *px);
1717
void stats_dump_html_px_end(struct stconn *sc, struct proxy *px);
18-
void stats_dump_html_end();
18+
void stats_dump_html_end(struct buffer *out);
1919

2020
extern struct applet http_stats_applet;
2121

0 commit comments

Comments
 (0)