diff options
author | 2023-10-27 17:46:33 +0100 | |
---|---|---|
committer | 2023-10-28 03:46:33 +1100 | |
commit | d6a7f2906a1dbe12fad1a7cef9a2b816e700a974 (patch) | |
tree | 851e12899a30c01bf24c934522f4e55c82759d88 /3rdparty | |
parent | ba621ec24df739b7fc11f8b8a32bda2b7ec653e9 (diff) |
3rdpary/asio: Fixed error check in sockatmark(). (#11656)
From chriskohlhoff/asio@f79d3dc5c85675b01196d301595155ede085483d
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/impl/socket_ops.ipp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/impl/socket_ops.ipp b/3rdparty/asio/include/asio/detail/impl/socket_ops.ipp index 77edf9e15e2..3403f1c0a85 100644 --- a/3rdparty/asio/include/asio/detail/impl/socket_ops.ipp +++ b/3rdparty/asio/include/asio/detail/impl/socket_ops.ipp @@ -641,7 +641,7 @@ bool sockatmark(socket_type s, asio::error_code& ec) # endif // defined(ENOTTY) #else // defined(SIOCATMARK) int value = ::sockatmark(s); - get_last_error(ec, result < 0); + get_last_error(ec, value < 0); #endif // defined(SIOCATMARK) return ec ? false : value != 0; |