diff options
Diffstat (limited to 'tdutils/td/utils/port/SocketFd.cpp')
| -rw-r--r-- | tdutils/td/utils/port/SocketFd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/td/utils/port/SocketFd.cpp b/tdutils/td/utils/port/SocketFd.cpp index 95df9d690..5f784c43b 100644 --- a/tdutils/td/utils/port/SocketFd.cpp +++ b/tdutils/td/utils/port/SocketFd.cpp @@ -643,7 +643,7 @@ Result<SocketFd> SocketFd::open(const IPAddress &address) { while (native_fd.socket() < MINIMUM_FILE_DESCRIPTOR) { native_fd.close(); LOG(ERROR) << "Receive " << native_fd << " as a file descriptor"; - int dummy_fd = detail::skip_eintr([&] { return ::open("/dev/null", O_RDONLY, 0); }); + int dummy_fd = detail::skip_eintr([] { return ::open("/dev/null", O_RDONLY, 0); }); if (dummy_fd < 0) { return OS_ERROR("Can't open /dev/null"); } |
