From 42d022008afe13d2f0b2dbc1b071c72f8e2f7775 Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Mon, 22 Oct 2001 19:12:06 +0000 Subject: (camel_search_header_match): Oops, missing i=0. svn path=/trunk/; revision=13891 --- camel/ChangeLog | 1 + camel/camel-mime-utils.c | 29 ++++++++++++++++++++++------- camel/camel-search-private.c | 2 +- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index f25879a1a3..70d0399299 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -3,6 +3,7 @@ * camel-search-private.c (camel_search_header_match): Match check against all addresses in a multiple address match. Should fix #13051. + (camel_search_header_match): Oops, missing i=0. 2001-10-22 Dan Winship diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index a76db94767..4f4090afbd 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -3715,13 +3715,28 @@ static struct { char *name; char *pattern; } mail_list_magic[] = { - { "Sender", " *owner-([^@]+)" }, - { "Sender", " *([^@]+)-owner" }, - { "Return-Path", " *owner-([^@]+)" }, - { "X-BeenThere", " *([^@]+)" }, - { "Delivered-To", " *mailing list ([^@]+)" }, - { "X-Mailing-List", " *([^@]+)" }, - { "X-Loop", " *([^@]+)" }, + /* Sender: owner-gnome-hackers@gnome.org */ + /* Sender: owner-gnome-hacekrs */ + { "Sender", " *owner-([^@]+)@?([^ \n\t\r>]*)" }, + /* Sender: gnome-hackers-owner@gnome.org */ + /* Sender: gnome-hackers-owner */ + { "Sender", " *([^@]+)-owner@?(([^ \n\t\r>]*)" }, + /* Sender: owner-gnome-hackers@gnome.org */ + /* Sender: */ + /* Sender: owner-gnome-hackers */ + /* Sender: */ + { "Return-Path", " ]*)" }, + /* X-BeenThere: gnome-hackers@gnome.org */ + /* X-BeenThere: gnome-hackers */ + { "X-BeenThere", " *([^@]+)@?([^ \n\t\r>]*)" }, + /* Delivered-To: mailing list gnome-hackers@gnome.org */ + /* Delivered-To: mailing list gnome-hackers */ + { "Delivered-To", " *mailing list ([^@]+)@?([^ \n\t\r>]*)" }, + /* X-Mailing-List: arcive/latest/100 */ + /* X-Mailing-List: gnome-hackers@gnome.org */ + { "X-Mailing-List", " ]*)" }, + /* X-Loop: gnome-hackers@gnome.org */ + { "X-Loop", " *([^@]+)@?([^ \n\t\r>]*)" }, { "List-Id", " *([^<]+)" }, { "List-Post", " *