Blame SOURCES/GeoIP-1.5.0-geoipupdate-message.patch
|
|
1d966a |
diff --git a/libGeoIP/GeoIPUpdate.c.old b/libGeoIP/GeoIPUpdate.c
|
|
|
1d966a |
index c5a4241..28279cb 100644
|
|
|
1d966a |
--- a/libGeoIP/GeoIPUpdate.c.old
|
|
|
1d966a |
+++ b/libGeoIP/GeoIPUpdate.c
|
|
|
1d966a |
@@ -823,7 +823,7 @@ short int GeoIP_update_database_general (char * user_id,char * license_key,char
|
|
|
1d966a |
free(buf);
|
|
|
1d966a |
GeoIP_printf(f, "%s is up to date, no updates required\n", geoipfilename);
|
|
|
1d966a |
return GEOIP_NO_NEW_UPDATES;
|
|
|
1d966a |
- } else if (strstr(compr, "Invalid UserId") != NULL){
|
|
|
1d966a |
+ } else if (strstr(compr, "Invalid user ID") != NULL){
|
|
|
1d966a |
free(buf);
|
|
|
1d966a |
return GEOIP_USER_ID_INVALID_ERR;
|
|
|
1d966a |
} else if (strstr(compr, "Invalid product ID or subscription expired") != NULL){
|