Skip to content

Commit

Permalink
NetworkAddressChange.Unix: fix error checking. (dotnet#65849)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmds authored Feb 24, 2022
1 parent 9989838 commit a41c7b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private static async void ReadEventsAsync(Socket socket)

Interop.Error result = ReadEvents(socket);

if (result != Interop.Error.SUCCESS ||
if (result != Interop.Error.SUCCESS &&
result != Interop.Error.EAGAIN)
{
throw new Win32Exception(result.Info().RawErrno);
Expand Down

0 comments on commit a41c7b3

Please sign in to comment.