Change luaL_loadbuffer chunkname with prefixes.

This commit is contained in:
Miku AuahDark
2021-12-12 01:26:20 +08:00
parent 7e271fc53e
commit fb815edc28
15 changed files with 20 additions and 20 deletions
@@ -132,5 +132,5 @@ static const unsigned char B1[]={
116,117,114,110, 32, 95, 77,
};
if (luaL_loadbuffer(L,(const char*)B1,sizeof(B1),"mime.lua")==0) lua_call(L, 0, LUA_MULTRET);
if (luaL_loadbuffer(L,(const char*)B1,sizeof(B1),"=[socket \"mime.lua\"]")==0) lua_call(L, 0, LUA_MULTRET);
}