- On assert known false, the message was not show for no-args.

- Fixup in socket_private.c3
This commit is contained in:
Christoffer Lerno
2026-02-14 23:49:27 +01:00
parent 14779bd467
commit d80a8629a6
4 changed files with 14 additions and 13 deletions

View File

@@ -75,7 +75,7 @@ fn Socket? connect_with_timeout_from_addrinfo(AddrInfo* addrinfo, SocketOption[]
{
c = clock::now();
}
Poll poll_request = { sockfd, SUBSCRIBE_ANY_WRITE, 0 };
Poll poll_request = { sockfd, SUBSCRIBE_ANY_WRITE, (PollEvent)0 };
if (!poll((&poll_request)[:1], timeout_left)!)
{
return CONNECTION_TIMED_OUT~;