mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
- On assert known false, the message was not show for no-args.
- Fixup in socket_private.c3
This commit is contained in:
@@ -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~;
|
||||
|
||||
Reference in New Issue
Block a user