gchar *label = NULL;
if (visible && strcmp(visible, uri->uri)) {
- gboolean phishing_attempt = TRUE;
+ gboolean phishing_attempt = FALSE;
if (strcmp(visible, uri->uri) != 0 && is_uri_string(visible)) {
gchar *uri_path;
gchar *visible_uri_path;
uri_path = get_uri_path(uri->uri);
visible_uri_path = get_uri_path(visible);
if (path_cmp(uri_path, visible_uri_path) != 0)
- phishing_attempt = FALSE;
+ phishing_attempt = TRUE;
}
if (phishing_attempt) {
GdkColor color;
gchar buf[8];
- g_snprintf(buf, sizeof buf, "#%6.6lx", prefs_common.color[COL_LOG_ERROR]);
+ g_snprintf(buf, sizeof buf, "#%6.6lx", prefs_common.color[COL_LOG_ERROR]);
gtkut_convert_int_to_gdk_color(prefs_common.color[COL_LOG_ERROR], &color);
label = g_markup_printf_escaped("<span color=\"%s\"><b>%s</b></span>\n%s",
buf, visible, uri->uri);