Skip to content

Commit 12ec499

Browse files
committed
session client UPDATE improve resolv error message
Refs CESNET/netopeer2#1698
1 parent 2f4efb1 commit 12ec499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/session_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ nc_sock_connect(const char *src_addr, uint16_t src_port, const char *dst_addr, u
17491749
hints.ai_protocol = IPPROTO_TCP;
17501750
i = getaddrinfo(dst_addr, dst_port_str, &hints, &res_list);
17511751
if (i != 0) {
1752-
ERR(NULL, "Unable to translate the host address (%s).", gai_strerror(i));
1752+
ERR(NULL, "Unable to translate the host address \"%s\" (%s).", dst_addr, gai_strerror(i));
17531753
goto error;
17541754
}
17551755

0 commit comments

Comments
 (0)