summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucode.c b/ucode.c
index 01de012..aa5d5b4 100644
--- 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);