From: Olivier Houchard Date: Thu, 18 Apr 2024 23:49:12 +0000 (+0200) Subject: MINOR: stats: Get the right prototype for stats_dump_html_end(). X-Git-Tag: v3.0-dev8~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7caa14a643da10e26c6248915626c8d79374883;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/stats-html.h b/include/haproxy/stats-html.h index 3102290c7d..912ec59879 100644 --- a/include/haproxy/stats-html.h +++ b/include/haproxy/stats-html.h @@ -15,7 +15,7 @@ int stats_dump_fields_html(struct buffer *out, const struct field *stats, struct show_stat_ctx *ctx); void stats_dump_html_px_hdr(struct stconn *sc, struct proxy *px); void stats_dump_html_px_end(struct stconn *sc, struct proxy *px); -void stats_dump_html_end(); +void stats_dump_html_end(struct buffer *out); extern struct applet http_stats_applet;