commit | 29af44b74d0a1d8dbe55456cc72bfca98d1dd793 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Oct 13 10:59:55 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Oct 13 10:59:55 2016 +0200 |
tree | d1c2e0af20ba4958bf01b7e8727cad884600f655 | |
parent | c4bc58130bd087773393682072fdc1eb7a861600 [diff] [blame] |
session CHANGE call home messages enhanced
diff --git a/src/session_client.c b/src/session_client.c index f01a57e..bd023bd 100644 --- a/src/session_client.c +++ b/src/session_client.c
@@ -471,9 +471,7 @@ break; } - if (sock == -1) { - ERR("Unable to connect to %s:%s (%s).", host, port_s, strerror(errno)); - } else { + if (sock != -1) { VRB("Successfully connected to %s:%s over %s.", host, port_s, (res->ai_family == AF_INET6) ? "IPv6" : "IPv4"); } freeaddrinfo(res_list);