kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit f958d86616ee7c43121f06422bcb6cfd17b7ffeb
parent 03d5e4852ba4d25cdebf76329fa9996f5f9cdea2
Author: Joris Vink <joris@coders.se>
Date:   Wed, 30 Aug 2017 15:11:07 +0200

remember the onload callback like we used too.

Diffstat:
src/module.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/module.c b/src/module.c @@ -104,6 +104,7 @@ kore_module_load(const char *path, const char *onload, int type) TAILQ_INSERT_TAIL(&modules, module, list); if (onload != NULL) { + module->onload = kore_strdup(onload); module->ocb = kore_malloc(sizeof(*module->ocb)); module->ocb->runtime = module->runtime; module->ocb->addr = module->fun->getsym(module, onload);