net/SocketError: fix typo

Whoops.  This function has never been used.
This commit is contained in:
Max Kellermann 2024-02-19 20:33:13 +01:00 committed by Max Kellermann
parent 02c4512b00
commit 9c68f24cfc

View File

@ -101,7 +101,7 @@ IsSocketErrorAcceptWouldBlock(socket_error_t code) noexcept
} }
constexpr bool constexpr bool
IsSocketErrorInterruped(socket_error_t code) noexcept IsSocketErrorInterrupted(socket_error_t code) noexcept
{ {
#ifdef _WIN32 #ifdef _WIN32
return code == WSAEINTR; return code == WSAEINTR;