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 f0fc1af9402a4d40eaad3ce1a984f40ad6ec9a86
parent fc243835c975a6cb9b3f99cba9b4b37d73181d37
Author: Joris Vink <joris@coders.se>
Date:   Tue, 10 Dec 2013 08:52:37 +0100

Fix params example in example module

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

diff --git a/modules/example/src/example.c b/modules/example/src/example.c @@ -250,7 +250,7 @@ serve_params_test(struct http_request *req) kore_buf_replace_string(b, "$arg1$", NULL, 0); } - if (http_argument_lookup(req, "$arg2$", &test)) { + if (http_argument_lookup(req, "arg2", &test)) { kore_buf_replace_string(b, "$arg2$", test, strlen(test)); kore_mem_free(test); } else {