mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:27:45 +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:
parent
e74dff7697
commit
39954f9e7f
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ void WebContentView::create_client()
|
||||||
MUST(Core::System::close(ui_fd_passing_fd));
|
MUST(Core::System::close(ui_fd_passing_fd));
|
||||||
MUST(Core::System::close(ui_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));
|
MUST(Core::System::setenv("SOCKET_TAKEOVER"sv, takeover_string, true));
|
||||||
|
|
||||||
auto fd_passing_socket_string = String::formatted("{}", wc_fd_passing_fd);
|
auto fd_passing_socket_string = String::formatted("{}", wc_fd_passing_fd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue