]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: stats: Get the right prototype for stats_dump_html_end().
authorOlivier Houchard <cognet@ci0.org>
Thu, 18 Apr 2024 23:49:12 +0000 (01:49 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 18 Apr 2024 23:54:00 +0000 (01:54 +0200)
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.

include/haproxy/stats-html.h

index 3102290c7df6ff0c8cbfe9738cf710f1b67374d0..912ec59879f49ae7a03cb7ac6cd35a053d62733d 100644 (file)
@@ -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;