[epiphany] Fix build error caused by previous commit
- From: Gabriel Ivașcu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix build error caused by previous commit
- Date: Thu, 16 Nov 2017 11:56:54 +0000 (UTC)
commit a3e8fd0d4164c93558f5e86e8a60ac26e89d0e5a
Author: Gabriel Ivascu <gabrielivascu gnome org>
Date: Thu Nov 16 13:56:31 2017 +0200
Fix build error caused by previous commit
lib/safe-browsing/ephy-gsb-service.c | 2 +-
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 f5046a9..4ef2762 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]