瀏覽代碼

Fixed missing function reference in Lua module.

Thomas Davis 12 年之前
父節點
當前提交
dee4900ead
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mod_lua.inl

+ 1 - 1
src/mod_lua.inl

@@ -244,7 +244,7 @@ static int lsp_include(lua_State *L)
 static int lsp_cry(lua_State *L)
 {
     struct mg_connection *conn = lua_touserdata(L, lua_upvalueindex(1));
-    cry(conn, "%s", lua_tostring(L, -1));
+    mg_cry(conn, "%s", lua_tostring(L, -1));
     return 0;
 }