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:
parent
6e8584e8e0
commit
1ce2361daf
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user