From ad252fb2f5b403001a283aff58773b8b429be145 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 24 Nov 2012 20:44:08 +0100 Subject: web_server: Make second argument to websrv_output const. --- source4/web_server/web_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/web_server/web_server.c') diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 99a6b65f67..239612a6bd 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -93,7 +93,7 @@ void websrv_output_headers(struct websrv_context *web, const char *status, struc data_blob_free(&b); } -void websrv_output(struct websrv_context *web, void *data, size_t length) +void websrv_output(struct websrv_context *web, const void *data, size_t length) { data_blob_append(web, &web->output.content, data, length); TEVENT_FD_NOT_READABLE(web->conn->event.fde); -- cgit