From ee04588ef52d350a10603829573b4af3efccfe48 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sun, 3 May 2020 09:23:10 +1000 Subject: aio: Improve ipv6 error message To show both the host and port Signed-off-by: Steve Bennett --- jim-aio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jim-aio.c') 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 { -- cgit v1.1