summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Ivascu <gabrielivascu@gnome.org>2017-11-16 13:56:31 +0200
committerGabriel Ivascu <gabrielivascu@gnome.org>2017-11-16 13:56:31 +0200
commita3e8fd0d4164c93558f5e86e8a60ac26e89d0e5a (patch)
tree6e6095179e63dabd18a08f111e49a517b6986483
parentee2ba31154a07521b90ba1ac6f4f79bf9993d666 (diff)
downloadepiphany-a3e8fd0d4164c93558f5e86e8a60ac26e89d0e5a.tar.gz
Fix build error caused by previous commit
-rw-r--r--lib/safe-browsing/ephy-gsb-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/safe-browsing/ephy-gsb-service.c b/lib/safe-browsing/ephy-gsb-service.c
index f5046a95a..4ef2762a9 100644
--- a/lib/safe-browsing/ephy-gsb-service.c
+++ b/lib/safe-browsing/ephy-gsb-service.c
@@ -353,7 +353,7 @@ ephy_gsb_service_update_thread (GTask *task,
duration_str = json_object_get_string_member (body_obj, "minimumWaitDuration");
/* g_ascii_strtod() ignores trailing characters, i.e. 's' character. */
- duration = g_ascii_strtod (duration_str, &end);
+ duration = g_ascii_strtod (duration_str, NULL);
self->next_list_updates_time = CURRENT_TIME + (gint64)ceil (duration);
}