projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ucode: initialize search path before VM init
[project/uhttpd.git]
/
ucode.c
diff --git
a/ucode.c
b/ucode.c
index 01de012a482d2f80a66268dfacd66b0246c57f82..aa5d5b454fcd99ffbcb85f28249088512e6f6c0a 100644
(file)
--- a/
ucode.c
+++ b/
ucode.c
@@
-229,9
+229,9
@@
uh_ucode_state_init(struct ucode_prefix *ucode)
uc_value_t *v;
int exitcode;
+ uc_search_path_init(&config.module_search_path);
uc_vm_init(vm, &config);
uc_stdlib_load(uc_vm_scope_get(vm));
- uc_search_path_init(&config.module_search_path);
/* build uhttpd api table */
v = ucv_object_new(vm);