mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibCore: Move Stream-based sockets into the Core namespace
This commit is contained in:
committed by
Linus Groh
parent
d43a7eae54
commit
a96339b72b
@@ -146,7 +146,7 @@ ErrorOr<NonnullRefPtr<SQLClient>> SQLClient::launch_server_and_create_client(Vec
|
||||
if (TRY(should_launch_server(pid_path)))
|
||||
TRY(launch_server(socket_path, pid_path, move(candidate_server_paths)));
|
||||
|
||||
auto socket = TRY(Core::Stream::LocalSocket::connect(move(socket_path)));
|
||||
auto socket = TRY(Core::LocalSocket::connect(move(socket_path)));
|
||||
TRY(socket->set_blocking(true));
|
||||
|
||||
return adopt_nonnull_ref_or_enomem(new (nothrow) SQLClient(move(socket)));
|
||||
|
||||
Reference in New Issue
Block a user