aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.c b/server.c
index b29249f..5048212 100644
--- a/server.c
+++ b/server.c
@@ -1190,7 +1190,8 @@ start_reply(struct client *c, int code, const char *meta)
bufferevent_write(c->bev, "\r\n", 2);
if (!vhost_disable_log(c->host, c->iri.path))
- log_request(c, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb));
+ log_request(c, (char *)EVBUFFER_DATA(evb),
+ EVBUFFER_LENGTH(evb));
if (code != 20)
c->type = REQUEST_DONE;