aboutsummaryrefslogtreecommitdiffstats
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.c b/src/html.c
index 60c6eabd0..772f7d33b 100644
--- a/src/html.c
+++ b/src/html.c
@@ -801,7 +801,7 @@ parse_tag_url (struct worker_task *task, struct mime_text_part *part, tag_id_t i
if (part->html_urls && g_tree_lookup (part->html_urls, url_text) == NULL) {
g_tree_insert (part->html_urls, url_text, url);
}
- if (g_tree_lookup (task->urls, url)) {
+ if (g_tree_lookup (task->urls, url) == NULL) {
g_tree_insert (task->urls, url, url);
}
}