mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Fix params example in example module
This commit is contained in:
parent
fc243835c9
commit
f0fc1af940
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user