aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-21 03:23:20 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-21 03:23:20 +0800
commit9b14853a9d246c0f061fd475c10d86311d5daf8a (patch)
tree447f68cfb3b13380248f8b63ff2c3a299491cf90
parentb5ecdf496ea2de0cfa33979f4eb1d57de72e7f47 (diff)
downloadgsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.gz
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.zst
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.zip
Do return on failure.
2006-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Do return on failure.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/GtkNSSSecurityWarningDialogs.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad1a9d29e..6615da06a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-20 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp:
+
+ Do return on failure.
+
2006-02-16 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c: (ephy_window_state_event):
diff --git a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
index fe87b192f..384c41905 100644
--- a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
+++ b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
@@ -229,7 +229,7 @@ GtkNSSSecurityWarningDialogs::DoDialog (nsIInterfaceRequestor *aContext,
AutoJSContextStack stack;
rv = stack.Init ();
- if (NS_FAILED (rv));
+ if (NS_FAILED (rv)) return;
/* Didn't you know it, mozilla SUCKS!
* the "aContext" interface requestor is made from a nsIDOMWindow,