diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-08-26 13:22:18 +0100 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-08-26 13:22:18 +0100 |
commit | fbfb76e99858588292aa6e929dcfe6acae3912b7 (patch) | |
tree | f41f97a5c84f9abe291c3107aaf0c1710c427a6d /src/trg-peers-model.c | |
parent | 8cc810e1fbf069f808cfe3e9598273b2f3dd8aab (diff) |
reindent all the things! with indent -nut -kr.
Diffstat (limited to 'src/trg-peers-model.c')
-rw-r--r-- | src/trg-peers-model.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/trg-peers-model.c b/src/trg-peers-model.c index 980e2a0..3c81f95 100644 --- a/src/trg-peers-model.c +++ b/src/trg-peers-model.c @@ -250,22 +250,22 @@ static void trg_peers_model_init(TrgPeersModel * self) #ifdef HAVE_GEOIP #ifdef WIN32 geoip_db_path = trg_win32_support_path("GeoIP.dat"); - geoip_v6_db_path = trg_win32_support_path("GeoIPv6.dat"); + geoip_v6_db_path = trg_win32_support_path("GeoIPv6.dat"); #else geoip_db_path = g_strdup(TRG_GEOIP_DATABASE); - geoip_v6_db_path = g_strdup(TRG_GEOIPV6_DATABASE); + geoip_v6_db_path = g_strdup(TRG_GEOIPV6_DATABASE); #endif if (g_file_test(geoip_db_path, G_FILE_TEST_EXISTS) == TRUE) priv->geoip = GeoIP_open(geoip_db_path, GEOIP_STANDARD | GEOIP_CHECK_CACHE); - + if (g_file_test(geoip_v6_db_path, G_FILE_TEST_EXISTS) == TRUE) priv->geoipv6 = GeoIP_open(geoip_v6_db_path, GEOIP_STANDARD | GEOIP_CHECK_CACHE); - - g_free(geoip_db_path); - g_free(geoip_v6_db_path); + + g_free(geoip_db_path); + g_free(geoip_v6_db_path); #endif } |