summaryrefslogtreecommitdiff
path: root/event-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'event-httpd.c')
-rw-r--r--event-httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event-httpd.c b/event-httpd.c
index 3ec2790..9943b14 100644
--- a/event-httpd.c
+++ b/event-httpd.c
@@ -36,7 +36,7 @@ void respond_header(struct client *c, int error_code, const char *reason,
error_code, reason, headers);
}
-void respond_chunk(struct client *c, GString *s)
+void respond_chunk(struct client *c, const GString *s)
{
if (c->can_chunk)
g_output_stream_printf(c->out, NULL, NULL, NULL,