kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 879b5716d1c47c72e65e7aa218656744e4ad9fde
parent 90588913d43818c0c3ad6e23eaf7a0fedf98e3f5
Author: Joris Vink <joris@coders.se>
Date:   Fri,  3 May 2013 01:21:09 +0200

req->method is no longer a string, adapt kore_log()

Diffstat:
src/http.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http.c b/src/http.c @@ -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));