Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Run uncrustify-all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Jul 27, 2015
1 parent e2d3e59 commit f63ff8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/geoiplookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/geoiplookup6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f63ff8d

Please sign in to comment.