Commit fe087cdc authored by Sergey Lyubka's avatar Sergey Lyubka

Fixed lsp_sock_send(), return value

parent af7efd98
...@@ -5377,7 +5377,7 @@ static int lsp_sock_send(lua_State *L) { ...@@ -5377,7 +5377,7 @@ static int lsp_sock_send(lua_State *L) {
} }
sent += n; sent += n;
} }
lua_pushnumber(L, n); lua_pushnumber(L, sent);
} else { } else {
return luaL_error(L, "invalid :close() call"); return luaL_error(L, "invalid :close() call");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment