1
0
mirror of https://github.com/janet-lang/janet synced 2025-08-29 17:08:03 +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

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 */