summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6fee982..083a2d9 100644
--- a/main.c
+++ b/main.c
@@ -26,7 +26,7 @@ static int lua_getfield_int_opt(lua_State *L, int index, const char *key, int de
26 return val; 26 return val;
27} 27}
28 28
29static int load_embedded_module(lua_State *L, const char* module_code, size_t code_len, const char* module_name) { 29static int load_embedded_module(lua_State *L, const char *module_code, size_t code_len, const char *module_name) {
30 if (luaL_loadbuffer(L, module_code, code_len, module_name) || lua_pcall(L, 0, 1, 0)) { 30 if (luaL_loadbuffer(L, module_code, code_len, module_name) || lua_pcall(L, 0, 1, 0)) {
31 fprintf(stderr, "Error loading %s: %s\n", module_name, lua_tostring(L, -1)); 31 fprintf(stderr, "Error loading %s: %s\n", module_name, lua_tostring(L, -1));
32 return 0; 32 return 0;