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 6c8970651ced85274670cc74fb57c2584d0fe8a3
parent b0cf42726d1b52783abe996ae7845b3032709e81
Author: Joris Vink <joris@coders.se>
Date:   Fri,  4 Oct 2019 11:34:49 +0200

s/hook/method

Diffstat:
src/python.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -491,7 +491,7 @@ kore_python_seccomp_hook(const char *method) struct kore_runtime *rt; PyObject *func, *result; - if ((func = kore_module_getsym(hook, &rt)) == NULL) + if ((func = kore_module_getsym(method, &rt)) == NULL) return; if (rt->type != KORE_RUNTIME_PYTHON) @@ -506,7 +506,7 @@ kore_python_seccomp_hook(const char *method) result = PyObject_CallFunctionObjArgs(func, (PyObject *)py_seccomp, NULL); - kore_python_log_error(hook); + kore_python_log_error(method); kore_seccomp_filter("koreapp", py_seccomp->filters, py_seccomp->elm);