1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-13 09:00:26 +00:00

Better error message in connect

Quick thing to help check when failing tests.
This commit is contained in:
llmII 2021-09-06 09:02:56 -05:00
parent 6e8584e8e0
commit 1ce2361daf
No known key found for this signature in database
GPG Key ID: E3AD2E259F58A9A0

View File

@ -445,7 +445,7 @@ JANET_CORE_FN(cfun_net_connect,
}
freeaddrinfo(ai);
if (NULL == rp) {
janet_panic("could not bind to any sockets");
janet_panic("could not bind outgoing address");
}
/* Connect to socket */