aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-24 17:03:44 -0700
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-24 17:03:44 -0700
commitabea6f74f14a8d23674cffedcc994730146df34d (patch)
tree8af31245a3c2317b7af6b96d9bebd3ba102af1ee
parent958703d17ec8a7223e388da0805378579a328063 (diff)
downloadcrda-abea6f74f14a8d23674cffedcc994730146df34d.tar.gz
crda: move intersection if first attempt failed
The intersection should be able to continue on even if the first two countries could not be intersected. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r--intersect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/intersect.c b/intersect.c
index 8f826a0..5cb7d7c 100644
--- a/intersect.c
+++ b/intersect.c
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
"with country (%.2s)\n",
prev_world->alpha2,
rd->alpha2);
- goto out;
+ continue;
}
if (intersected)
@@ -94,7 +94,6 @@ int main(int argc, char **argv)
printf("== World regulatory domain: ==\n");
print_regdom(world);
-out:
if (!intersected) {
free(world);
return r;