diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2018-10-27 20:49:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 20:49:54 +0300 |
commit | 4014937a77230ab99c5c8148c13b404c02330387 (patch) | |
tree | 39dffc96a0f0f550ca6af064ef45639a72378da3 /libnetdata/socket | |
parent | 798c141c49ee85bddc8f48f25d2cb593ec96da07 (diff) |
fix RPM build (#4507)
Diffstat (limited to 'libnetdata/socket')
-rw-r--r-- | libnetdata/socket/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnetdata/socket/socket.c b/libnetdata/socket/socket.c index 025bdca0da..c266efeb44 100644 --- a/libnetdata/socket/socket.c +++ b/libnetdata/socket/socket.c @@ -591,6 +591,8 @@ static inline int connect_to_this_ip46(int protocol, int socktype, const char *h switch (ai->ai_addr->sa_family) { case PF_INET: { struct sockaddr_in *pSadrIn = (struct sockaddr_in *)ai->ai_addr; + (void)pSadrIn; + debug(D_CONNECT_TO, "ai_addr = sin_family: %d (AF_INET = %d, AF_INET6 = %d), sin_addr: '%s', sin_port: '%s'", pSadrIn->sin_family, AF_INET, |