diff options
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||
| 29 | static int load_embedded_module(lua_State *L, const char* module_code, size_t code_len, const char* module_name) { | 29 | static 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; |
