mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
[fix] add logging
This commit is contained in:
parent
a2a5d78fbd
commit
6848768e8e
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user