diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-11-30 18:49:41 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-11-30 20:00:26 -0800 |
| commit | 92ec24f77c6c146fd9943a41b055603ff1e442a5 (patch) | |
| tree | 36f99ea3a65d2a787a0908b51544a0625e6e1c5f /lib/std/net.zig | |
| parent | 21565ca991bba9692ed74ec9fb9a665f8e504c7f (diff) | |
| download | zig-92ec24f77c6c146fd9943a41b055603ff1e442a5.tar.gz zig-92ec24f77c6c146fd9943a41b055603ff1e442a5.zip | |
std/os: remove unneeded error from accept errorset
POSIX compliant fnctl cannot return EPERM when getting/setting the given
flags. See the specification here:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html
Diffstat (limited to 'lib/std/net.zig')
| -rw-r--r-- | lib/std/net.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/net.zig b/lib/std/net.zig index 1466635ff0..256a1f5cf9 100644 --- a/lib/std/net.zig +++ b/lib/std/net.zig @@ -1661,10 +1661,6 @@ pub const StreamServer = struct { /// Firewall rules forbid connection. BlockedByFirewall, - /// Permission to create a socket of the specified type and/or - /// protocol is denied. - PermissionDenied, - FileDescriptorNotASocket, ConnectionResetByPeer, |
