From f63ff8dabb66bfc8ceb6d0ffec76a02d4dfe4673 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Mon, 27 Jul 2015 11:46:12 -0500 Subject: [PATCH] Run uncrustify-all.sh --- apps/geoiplookup.c | 2 +- apps/geoiplookup6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/geoiplookup.c b/apps/geoiplookup.c index 23984b8..2ad4513 100644 --- a/apps/geoiplookup.c +++ b/apps/geoiplookup.c @@ -290,7 +290,7 @@ void geoiplookup(GeoIP * gi, char *hostname, int i) } }else if (GEOIP_COUNTRY_EDITION == i) { country_id = GeoIP_id_by_ipnum(gi, ipnum); - if (country_id < 0 || country_id >= (int) GeoIP_num_countries()) { + if (country_id < 0 || country_id >= (int)GeoIP_num_countries()) { printf("%s: Invalid database\n", GeoIPDBDescription[i]); return; } diff --git a/apps/geoiplookup6.c b/apps/geoiplookup6.c index 6f9c213..801803f 100644 --- a/apps/geoiplookup6.c +++ b/apps/geoiplookup6.c @@ -177,7 +177,7 @@ geoiplookup(GeoIP * gi, char *hostname, int i) } }else if (GEOIP_COUNTRY_EDITION_V6 == i) { country_id = GeoIP_id_by_ipnum_v6(gi, ipnum); - if (country_id < 0 || country_id >= (int) GeoIP_num_countries()) { + if (country_id < 0 || country_id >= (int)GeoIP_num_countries()) { printf("%s: Invalid database\n", GeoIPDBDescription[i]); return; }