1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00

Ladybird: Give the WebContent socket a descriptive name

WebContent's main() will soon take over multiple sockets. Give the
existing WebContent socket a descriptive name to avoid confusion.
This commit is contained in:
Timothy Flynn 2022-11-13 19:10:56 -05:00 committed by Andrew Kaster
parent e74dff7697
commit 39954f9e7f

View file

@ -586,7 +586,7 @@ void WebContentView::create_client()
MUST(Core::System::close(ui_fd_passing_fd));
MUST(Core::System::close(ui_fd));
auto takeover_string = String::formatted("x:{}", wc_fd);
auto takeover_string = String::formatted("WebContent:{}", wc_fd);
MUST(Core::System::setenv("SOCKET_TAKEOVER"sv, takeover_string, true));
auto fd_passing_socket_string = String::formatted("{}", wc_fd_passing_fd);