From 88416fdda7f6c3ab3a324c7faeb5bb94d997f0b7 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 11 Sep 2021 11:40:05 +0100 Subject: event-httpd: make GString argument const respond_chunk() does not change or take ownership of the GString, so make this argument const. Signed-off-by: Russell King --- event-httpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'event-httpd.h') diff --git a/event-httpd.h b/event-httpd.h index 7818bd5..9af8432 100644 --- a/event-httpd.h +++ b/event-httpd.h @@ -23,6 +23,6 @@ struct client { void close_client(struct client *c); void respond_header(struct client *c, int error_code, const char *reason, const char *headers); -void respond_chunk(struct client *c, GString *s); +void respond_chunk(struct client *c, const GString *s); #endif -- cgit