comparison http.c @ 21:21c103c33ac9

pasterd: improve verbosity, closes #2472
author David Demelier <markand@malikania.fr>
date Thu, 06 Feb 2020 20:10:00 +0100
parents 29033b4fe558
children 8d274b012d28
comparison
equal deleted inserted replaced
20:85a22b9abaec 21:21c103c33ac9
821 static void 821 static void
822 process(struct kreq *req) 822 process(struct kreq *req)
823 { 823 {
824 assert(req); 824 assert(req);
825 825
826 log_debug("http: accessing page '%s'", req->path);
827
826 if (req->page == PAGE_LAST) 828 if (req->page == PAGE_LAST)
827 page(req, NULL, KHTTP_404, "404.html"); 829 page(req, NULL, KHTTP_404, "404.html");
828 else 830 else
829 handlers[req->page](req); 831 handlers[req->page](req);
830 } 832 }