FS-4015 --resolve

This commit is contained in:
Ken Rice
2012-03-27 15:40:05 -05:00
parent 859a332602
commit 2b6aa7fd04
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ static int traceback(lua_State * L)
return 1;
}
int docall(lua_State * L, int narg, int clear, int perror)
int docall(lua_State * L, int narg, int nresults, int perror)
{
int status;
int base = lua_gettop(L) - narg; /* function index */
@@ -88,7 +88,7 @@ int docall(lua_State * L, int narg, int clear, int perror)
lua_pushcfunction(L, traceback); /* push traceback function */
lua_insert(L, base); /* put it under chunk and args */
status = lua_pcall(L, narg, (clear ? 0 : LUA_MULTRET), base);
status = lua_pcall(L, narg, nresults, base);
lua_remove(L, base); /* remove traceback function */
/* force a complete garbage collection in case of errors */