[epiphany/gnome-3-28] Add missing null check



commit f4c78d400c4dc143ced856d6311cd9595c236fbb
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Mar 28 19:54:05 2018 -0500

    Add missing null check
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794784

 embed/ephy-web-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index a8cbb9d..b13074c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -651,7 +651,7 @@ history_service_query_urls_cb (EphyHistoryService *service,
     goto out;
 
   /* Have we already started a new load? */
-  if (strcmp (url, view->pending_snapshot_uri) != 0)
+  if (g_strcmp0 (url, view->pending_snapshot_uri) != 0)
     goto out;
 
   for (GList *l = urls; l; l = g_list_next (l)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]