Fix for prepare_lua_environment

This commit is contained in:
Sergey Lyubka committed 2013-05-19 01:25:10 +01:00
1 parent f4862b646d
commit 6e59ad8a0d
3 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -463,7 +463,7 @@ static void test_lua(void) {
&conn.request_info);
conn.content_len = conn.data_len - conn.request_len;
prepare_lua_environment(&conn, L);
mg_prepare_lua_environment(&conn, L);
ASSERT(lua_gettop(L) == 0);
check_lua_expr(L, "'hi'", "hi");