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 /log.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 'log.c')
-rw-r--r-- | log.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -188,9 +188,6 @@ log_request(struct client *c, char *meta, size_t l) size_t len; int ec; - if (vhost_disable_log(c->host, c->iri.path)) - return; - len = sizeof(c->addr); ec = getnameinfo((struct sockaddr*)&c->addr, len, hbuf, sizeof(hbuf), |