mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
make check-spaces fixes
This commit is contained in:
parent
5c0deff93b
commit
10f8607125
@ -6899,7 +6899,8 @@ parse_ports(or_options_t *options, int validate_only,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Does port bind to IPv4? */
|
/* Does port bind to IPv4? */
|
||||||
static int port_binds_ipv4(const port_cfg_t *port)
|
static int
|
||||||
|
port_binds_ipv4(const port_cfg_t *port)
|
||||||
{
|
{
|
||||||
return tor_addr_family(&port->addr) == AF_INET ||
|
return tor_addr_family(&port->addr) == AF_INET ||
|
||||||
(tor_addr_family(&port->addr) == AF_UNSPEC
|
(tor_addr_family(&port->addr) == AF_UNSPEC
|
||||||
@ -6907,7 +6908,8 @@ static int port_binds_ipv4(const port_cfg_t *port)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Does port bind to IPv6? */
|
/* Does port bind to IPv6? */
|
||||||
static int port_binds_ipv6(const port_cfg_t *port)
|
static int
|
||||||
|
port_binds_ipv6(const port_cfg_t *port)
|
||||||
{
|
{
|
||||||
return tor_addr_family(&port->addr) == AF_INET6 ||
|
return tor_addr_family(&port->addr) == AF_INET6 ||
|
||||||
(tor_addr_family(&port->addr) == AF_UNSPEC
|
(tor_addr_family(&port->addr) == AF_UNSPEC
|
||||||
|
Loading…
Reference in New Issue
Block a user