Browse Source

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.
Timothy Flynn 2 years ago
parent
commit
39954f9e7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Ladybird/WebContentView.cpp

+ 1 - 1
Ladybird/WebContentView.cpp

@@ -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);