mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Remove dead code
This commit is contained in:
1 parent
36a83e1452
commit
10234b07c4
1 file changed
-1
@@ -3979,7 +3979,6 @@ static int lsp(struct mg_connection *conn, const char *path,
|
|||||||
if (p[j] == '\n') ++lualines;
|
if (p[j] == '\n') ++lualines;
|
||||||
if (p[j] == '?' && p[j + 1] == '>') {
|
if (p[j] == '?' && p[j + 1] == '>') {
|
||||||
mg_write(conn, p + pos, i - pos);
|
mg_write(conn, p + pos, i - pos);
|
||||||
//lua_settop(L, 0);
|
|
||||||
lua_pushlightuserdata(L, conn);
|
lua_pushlightuserdata(L, conn);
|
||||||
lua_pushcclosure(L, lsp_mg_error, 1);
|
lua_pushcclosure(L, lsp_mg_error, 1);
|
||||||
snprintf (chunkname, sizeof(chunkname), "@%s+%i", path, lines);
|
snprintf (chunkname, sizeof(chunkname), "@%s+%i", path, lines);
|
||||||
|
|||||||
Reference in new issue
Block a user