summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibIPC/Decoder.cpp')
-rw-r--r--Userland/Libraries/LibIPC/Decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/Decoder.cpp b/Userland/Libraries/LibIPC/Decoder.cpp
index ff980bdaa5..96871f0b5b 100644
--- a/Userland/Libraries/LibIPC/Decoder.cpp
+++ b/Userland/Libraries/LibIPC/Decoder.cpp
@@ -174,7 +174,7 @@ bool Decoder::decode([[maybe_unused]] File& file)
dbgln("recvfd: {}", strerror(errno));
return false;
}
- file = File(fd);
+ file = File(fd, File::ConstructWithReceivedFileDescriptor);
return true;
#else
[[maybe_unused]] auto fd = m_sockfd;