diff options
author | Omar Polo <op@omarpolo.com> | 2023-07-01 18:41:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-07-01 18:41:46 +0000 |
commit | 2c3810687f0c8b7c14897618c5a3147f949df408 (patch) | |
tree | 0c1a806a390a78088f0cd8625e30bd61d71c8e80 /server.c | |
parent | 2247b66842be7049e4dbfe099781bd3d2f69fbe9 (diff) |
change log_request to take the code and meta unpacked
don't know what i was smoking when I wrote log_request() like that...
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1167,8 +1167,7 @@ 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, (char *)EVBUFFER_DATA(evb), - EVBUFFER_LENGTH(evb)); + log_request(c, code, meta); if (code != 20) c->type = REQUEST_DONE; |