diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-10-27 21:28:31 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-10-27 21:28:31 +0100 |
| commit | 1b34365ca1f7222a82054ece1901ffb87ffc8b21 (patch) | |
| tree | 82a45f79863b5a204df647037456d61541698cc6 | |
| parent | 7c2bde1f07f5e672bb2320c517568dab9edab652 (diff) | |
| download | zig-1b34365ca1f7222a82054ece1901ffb87ffc8b21.tar.gz zig-1b34365ca1f7222a82054ece1901ffb87ffc8b21.zip | |
std/event: fix poll error set handling
This has been broken since 127fa80
| -rw-r--r-- | lib/std/event/loop.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index 80dc94d184..0c4895b895 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -467,6 +467,7 @@ pub const Loop = struct { }}; _ = os.poll(&pfd, -1) catch |poll_err| switch (poll_err) { error.SystemResources, + error.NetworkSubsystemFailed, error.Unexpected, => { // Even poll() didn't work. The best we can do now is sleep for a |
