Fix typo in a code comment

This commit is contained in:
Martín Marqués
2018-05-19 12:28:41 -03:00
parent 55bb93bd3f
commit 2dfe1d18e9

View File

@@ -2628,7 +2628,7 @@ do_election(void)
} }
else else
{ {
/* standby nodes found - check if we're in the primary location befor checking theirs */ /* standby nodes found - check if we're in the primary location before checking theirs */
if (strncmp(upstream_node_info.location, local_node_info.location, MAXLEN) == 0) if (strncmp(upstream_node_info.location, local_node_info.location, MAXLEN) == 0)
{ {
primary_location_seen = true; primary_location_seen = true;