diff options
author | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-09-22 19:58:41 +0300 |
---|---|---|
committer | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-10-03 18:29:53 +0200 |
commit | 42db0308c6ca0cf0e327b699b2efa804d7712f1f (patch) | |
tree | 51e0559ab550b01f1db2a871f576176be2b17c5f /lib/safe-browsing/ephy-gsb-service.c | |
parent | ab88ce2a49aa39543e9cadb5ccd0c2aa5f8c1679 (diff) | |
download | epiphany-42db0308c6ca0cf0e327b699b2efa804d7712f1f.tar.gz |
gsb-storage: Remove unused timestamp column
Diffstat (limited to 'lib/safe-browsing/ephy-gsb-service.c')
-rw-r--r-- | lib/safe-browsing/ephy-gsb-service.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/safe-browsing/ephy-gsb-service.c b/lib/safe-browsing/ephy-gsb-service.c index d7fd9eff4..b92f73779 100644 --- a/lib/safe-browsing/ephy-gsb-service.c +++ b/lib/safe-browsing/ephy-gsb-service.c @@ -263,8 +263,7 @@ ephy_gsb_service_update_thread (GTask *task, list = ephy_gsb_threat_list_new (json_object_get_string_member (lur, "threatType"), json_object_get_string_member (lur, "platformType"), json_object_get_string_member (lur, "threatEntryType"), - json_object_get_string_member (lur, "newClientState"), - CURRENT_TIME); + json_object_get_string_member (lur, "newClientState")); LOG ("Updating list %s/%s/%s", list->threat_type, list->platform_type, list->threat_entry_type); /* If full update, clear all previous hash prefixes for the given list. */ @@ -572,7 +571,7 @@ ephy_gsb_service_find_full_hashes_cb (SoupSession *session, guint8 *hash; gsize length; - list = ephy_gsb_threat_list_new (threat_type, platform_type, threat_entry_type, NULL, 0); + list = ephy_gsb_threat_list_new (threat_type, platform_type, threat_entry_type, NULL); hash = g_base64_decode (hash_b64, &length); positive_duration = json_object_get_string_member (match, "cacheDuration"); sscanf (positive_duration, "%lfs", &duration); @@ -606,7 +605,7 @@ ephy_gsb_service_find_full_hashes_cb (SoupSession *session, list = ephy_gsb_threat_list_new (lookup->threat_type, lookup->platform_type, lookup->threat_entry_type, - NULL, 0); + NULL); g_hash_table_add (data->threats, list); } } @@ -743,7 +742,7 @@ ephy_gsb_service_verify_hashes (EphyGSBService *self, list = ephy_gsb_threat_list_new (lookup->threat_type, lookup->platform_type, lookup->threat_entry_type, - NULL, 0); + NULL); g_hash_table_add (threats, list); } } |