[epiphany] Add missing null check



commit 45599c137f43ad15bcf51fd91deab63a2dad5fd4
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 4834451..0e114bb 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -637,7 +637,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]