forked from mirrors/kore
req->method is no longer a string, adapt kore_log()
This commit is contained in:
parent
90588913d4
commit
879b5716d1
|
@ -345,7 +345,7 @@ http_header_recv(struct netbuf *nb)
|
|||
static int
|
||||
http_generic_404(struct http_request *req)
|
||||
{
|
||||
kore_log("http_generic_404(%s, %s, %s)",
|
||||
kore_log("http_generic_404(%s, %d, %s)",
|
||||
req->host, req->method, req->path);
|
||||
|
||||
return (http_response(req, 404, NULL, 0));
|
||||
|
|
Loading…
Reference in New Issue