about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xombrero.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/xombrero.c b/xombrero.c
index 5dfad34..e3ec499 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -3628,7 +3628,7 @@ get_css_name(const char *col_str)
 #endif
 
 void
-color_address_bar(gpointer p)
+check_certs(gpointer p)
 {
 	struct tab		*tt, *t = p;
 	gchar			*col_str = XT_COLOR_WHITE;
@@ -3737,6 +3737,9 @@ white:
 
 	if (error_str && error_str[0] != '\0')
 		show_oops(t, "%s", error_str);
+
+	check_cert_changes(t, u);
+
 #ifdef USE_THREADS
 	t->thread = NULL;
 #endif
@@ -3751,13 +3754,6 @@ done:
 }
 
 void
-check_certs(gpointer p)
-{
-	color_address_bar((struct tab *)p);
-	check_cert_changes((struct tab *)p, get_uri((struct tab *)p));
-}
-
-void
 show_ca_status(struct tab *t, const char *uri)
 {
 	gchar			*col_str = XT_COLOR_WHITE;