summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibIPC/Connection.cpp')
-rw-r--r--Userland/Libraries/LibIPC/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/Connection.cpp b/Userland/Libraries/LibIPC/Connection.cpp
index df9c9c9123..84622a7c68 100644
--- a/Userland/Libraries/LibIPC/Connection.cpp
+++ b/Userland/Libraries/LibIPC/Connection.cpp
@@ -64,7 +64,7 @@ ErrorOr<void> ConnectionBase::post_message(MessageBuffer buffer)
TRY(buffer.data.try_prepend(reinterpret_cast<u8 const*>(&message_size), sizeof(message_size)));
for (auto& fd : buffer.fds) {
- if (auto result = fd_passing_socket().send_fd(fd.value()); result.is_error()) {
+ if (auto result = fd_passing_socket().send_fd(fd->value()); result.is_error()) {
shutdown_with_error(result.error());
return result;
}