diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-05-03 09:23:10 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-05-04 21:57:37 +1000 |
commit | ee04588ef52d350a10603829573b4af3efccfe48 (patch) | |
tree | 5bb8d5eb66aeb8c9ebc625baefd9a4295340be61 | |
parent | a8a65e7637a4fc82777f2b0d822c902f333cd779 (diff) | |
download | jimtcl-ee04588ef52d350a10603829573b4af3efccfe48.zip jimtcl-ee04588ef52d350a10603829573b4af3efccfe48.tar.gz jimtcl-ee04588ef52d350a10603829573b4af3efccfe48.tar.bz2 |
aio: Improve ipv6 error message
To show both the host and port
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | jim-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -413,7 +413,7 @@ static int JimParseIPv6Address(Jim_Interp *interp, const char *hostport, union s req.ai_family = PF_INET6; if (getaddrinfo(sthost, stport, &req, &ai)) { - Jim_SetResultFormatted(interp, "Not a valid address: %s", hostport); + Jim_SetResultFormatted(interp, "Not a valid address: %s:%s", sthost, stport); ret = JIM_ERR; } else { |