summaryrefslogtreecommitdiff
path: root/Kernel/Net/LocalSocket.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-07-13 09:31:24 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-21 16:39:22 +0200
commit364f6a9bf0e53fa9a6d2afd0b70b915e94203450 (patch)
tree888fdbec9072ce37287ac1cf4ee68a3480f2f5e9 /Kernel/Net/LocalSocket.h
parent2aaaee6744dfa9fb8dd64c00ac5efc520ebae368 (diff)
downloadserenity-364f6a9bf0e53fa9a6d2afd0b70b915e94203450.zip
Kernel: Remove the Socket::{protocol,}connect ShouldBlock argument
This argument is always set to description.is_blocking(), but description is also given as a separate argument, so there's no point to piping it through separately.
Diffstat (limited to 'Kernel/Net/LocalSocket.h')
-rw-r--r--Kernel/Net/LocalSocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/LocalSocket.h b/Kernel/Net/LocalSocket.h
index 1eea1eb23b..ac94bfcd30 100644
--- a/Kernel/Net/LocalSocket.h
+++ b/Kernel/Net/LocalSocket.h
@@ -37,7 +37,7 @@ public:
// ^Socket
virtual ErrorOr<void> bind(Userspace<sockaddr const*>, socklen_t) override;
- virtual ErrorOr<void> connect(OpenFileDescription&, Userspace<sockaddr const*>, socklen_t, ShouldBlock = ShouldBlock::Yes) override;
+ virtual ErrorOr<void> connect(OpenFileDescription&, Userspace<sockaddr const*>, socklen_t) override;
virtual ErrorOr<void> listen(size_t) override;
virtual void get_local_address(sockaddr*, socklen_t*) override;
virtual void get_peer_address(sockaddr*, socklen_t*) override;