Don't assume sa.sa_family is a short int.
Because FreeBSD's compiler complained about it.
This commit is contained in:
parent
d704a89ecc
commit
d4410d0cce
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ static bool send_proxyrequest(connection_t *c) {
|
|||
i += 2;
|
||||
c->tcplen += 22;
|
||||
} else {
|
||||
logger(DEBUG_ALWAYS, LOG_ERR, "Address family %hx not supported for SOCKS 5 proxies!", c->address.sa.sa_family);
|
||||
logger(DEBUG_ALWAYS, LOG_ERR, "Address family %x not supported for SOCKS 5 proxies!", c->address.sa.sa_family);
|
||||
return false;
|
||||
}
|
||||
if(i > len)
|
||||
|
|
Loading…
Reference in a new issue