Skip to content
Snippets Groups Projects
Commit 218193d3 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Add braces around a two-line code block.

parent 4aca55ef
No related branches found
No related tags found
No related merge requests found
......@@ -270,9 +270,10 @@ int
geoip_get_country_by_addr(const tor_addr_t *addr)
{
uint32_t ipaddr;
if (tor_addr_family(addr) != AF_INET)
if (tor_addr_family(addr) != AF_INET) {
/*XXXX IP6 support ipv6 geoip.*/
return -1;
}
ipaddr = tor_addr_to_ipv4h(addr);
return geoip_get_country_by_ip(ipaddr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment