diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-22 09:19:14 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-23 13:43:33 +0100 |
commit | 4604dc9671fc46832928fb9f6ab83aaee55931d8 (patch) | |
tree | 00a8fb5d8880c4b9ed0dec9090c27e938d3ed7f1 /server.c | |
parent | 793835cb26c39202133c754fb33f8909ebf8fb92 (diff) |
move vhost_should_log call to server.c
log.o is linked to some regress/ stuff. Calling from there a vhost_*
function means that we should link the regress/stuff to server.o too
(and that would pull in other stuff...). Moving the call is easier,
and also probably better.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -620,7 +620,8 @@ handle_start_reply(int fd, short ev, void *d) return; } - log_request(c, buf, sizeof(buf)); + if (!vhost_disable_log(c->host, c->iri.path)) + log_request(c, buf, sizeof(buf)); if (c->code != SUCCESS) close_conn(fd, ev, c); |