[fix] add logging

This commit is contained in:
Dmitry Orlov 2018-07-05 13:22:56 +03:00
parent a2a5d78fbd
commit 6848768e8e

View File

@ -108,6 +108,9 @@ void Socket::getFirstAddr(const char* addr, int type, int protocol, sockaddr* re
host = tmp.c_str();
port++;
}
logDebug("Connecting to %s %d", host, port);
struct addrinfo hints;
struct addrinfo *dst;
memset(&hints, 0, sizeof(hints));