Author: poeml Date: Tue Jul 14 00:12:35 2009 New Revision: 7699 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=7699 Log: geoiplookup_city and geoiplookup_continent tools: - open database file in /var/lib/GeoIP/, which is the FHS correct location and the place where the database was moved recently on openSUSE Modified: trunk/tools/geoiplookup_city.c trunk/tools/geoiplookup_continent.c Modified: trunk/tools/geoiplookup_city.c ============================================================================== --- trunk/tools/geoiplookup_city.c Tue Jul 14 00:00:15 2009 (r7698) +++ trunk/tools/geoiplookup_city.c Tue Jul 14 00:12:35 2009 (r7699) _at_@ -27,7 +27,7 @@ #include <GeoIP.h> #include <GeoIPCity.h> -#define DEFAULT_GEOIPFILE "/usr/share/GeoIP/GeoLiteCity.dat" +#define DEFAULT_GEOIPFILE "/var/lib/GeoIP/GeoLiteCity.dat" int main(int argc, char **argv) { const char *geoipfilename = DEFAULT_GEOIPFILE; Modified: trunk/tools/geoiplookup_continent.c ============================================================================== --- trunk/tools/geoiplookup_continent.c Tue Jul 14 00:00:15 2009 (r7698) +++ trunk/tools/geoiplookup_continent.c Tue Jul 14 00:12:35 2009 (r7699) _at_@ -25,7 +25,7 @@ #include <GeoIP.h> #include <GeoIPCity.h> -#define DEFAULT_GEOIPFILE "/usr/share/GeoIP/GeoIP.dat" +#define DEFAULT_GEOIPFILE "/var/lib/GeoIP/GeoIP.dat" int main(int argc, char **argv) { const char *geoipfilename = DEFAULT_GEOIPFILE; _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Mon Jul 13 2009 - 22:12:37 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT