mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-13 10:15:00 +00:00
Fixed lsp_sock_send(), return value
This commit is contained in:
+1
-1
@@ -5377,7 +5377,7 @@ static int lsp_sock_send(lua_State *L) {
|
||||
}
|
||||
sent += n;
|
||||
}
|
||||
lua_pushnumber(L, n);
|
||||
lua_pushnumber(L, sent);
|
||||
} else {
|
||||
return luaL_error(L, "invalid :close() call");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user