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 fb6512259cc00a4ee2a518ca7cf2f6be660f6f35
parent adef05147e4293fb0e13565919a051fa1b10201b
Author: Joris Vink <joris@coders.se>
Date:   Mon, 21 Mar 2016 15:30:11 +0100

small style changes.

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

diff --git a/src/http.c b/src/http.c @@ -1595,7 +1595,8 @@ http_status_text(int status) const char * http_method_text(int method) { - char *r; + char *r; + switch(method) { case HTTP_METHOD_GET: r = "GET";