mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Remove an impossible comparison.
This commit is contained in:
parent
81c78ec755
commit
782c52658c
@ -7929,8 +7929,7 @@ static int
|
||||
verify_and_store_outbound_address(sa_family_t family, tor_addr_t *addr,
|
||||
outbound_addr_t type, or_options_t *options, int validate_only)
|
||||
{
|
||||
if (type<0 || type>=OUTBOUND_ADDR_MAX
|
||||
|| (family!=AF_INET && family!=AF_INET6)) {
|
||||
if (type>=OUTBOUND_ADDR_MAX || (family!=AF_INET && family!=AF_INET6)) {
|
||||
return -1;
|
||||
}
|
||||
int fam_index=0;
|
||||
|
Loading…
Reference in New Issue
Block a user