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
1 changed files with 1 additions and 1 deletions

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