From d74ddb2d913888d0d41626eb079d923b42a2ad0f Mon Sep 17 00:00:00 2001 From: Tetralux Date: Thu, 22 Feb 2024 15:01:55 +0000 Subject: [PATCH] fixup --- core/net/socket_darwin.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/socket_darwin.odin b/core/net/socket_darwin.odin index 2bc7ff9bd..ba86f1005 100644 --- a/core/net/socket_darwin.odin +++ b/core/net/socket_darwin.odin @@ -102,7 +102,7 @@ _bind :: proc(skt: Any_Socket, ep: Endpoint) -> (err: Network_Error) { res := os.bind(os.Socket(s), (^os.SOCKADDR)(&sockaddr), i32(sockaddr.len)) if res != os.ERROR_NONE { if res == os.EACCES && ep.port <= MAX_PRIVILEGED_PORT { - err = .Port_Reserved + err = .Privileged_Port_Without_Root } else { err = Bind_Error(res) }