Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
39954f9e7f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);