diff options
-rw-r--r-- | event-httpd.c | 2 | ||||
-rw-r--r-- | event-httpd.h | 2 |
2 files changed, 2 insertions, 2 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, 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 |