aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-05-03 09:23:10 +1000
committerSteve Bennett <steveb@workware.net.au>2020-05-04 21:57:37 +1000
commitee04588ef52d350a10603829573b4af3efccfe48 (patch)
tree5bb8d5eb66aeb8c9ebc625baefd9a4295340be61 /jim-aio.c
parenta8a65e7637a4fc82777f2b0d822c902f333cd779 (diff)
downloadjimtcl-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>
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-aio.c b/jim-aio.c
index 1e3a679..b234106 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -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 {