diff options
Diffstat (limited to 'src/url.c')
-rw-r--r-- | src/url.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1195,8 +1195,10 @@ url_parse_text (memory_pool_t * pool, struct worker_task *task, struct mime_text ex->pos = url_start - begin; ex->len = url_end - url_start; if (new->protocol == PROTOCOL_MAILTO) { - if (!g_tree_lookup (task->emails, new)) { - g_tree_insert (task->emails, new, new); + if (new->userlen > 0) { + if (!g_tree_lookup (task->emails, new)) { + g_tree_insert (task->emails, new, new); + } } } else { |