diff options
author | 0 <NotZed@Ximian.com> | 2001-10-30 15:55:59 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-30 15:55:59 +0800 |
commit | 4ae909c93b9ccea8f14df6aea16fc11323060f9f (patch) | |
tree | 1d88444d6b36e74126640748257331c4c9a7b0f9 /camel/camel-folder-search.c | |
parent | 4b3f1e83ea58731c3e0aa7172a86331efecbb867 (diff) | |
download | gsoc2013-evolution-4ae909c93b9ccea8f14df6aea16fc11323060f9f.tar.gz gsoc2013-evolution-4ae909c93b9ccea8f14df6aea16fc11323060f9f.tar.zst gsoc2013-evolution-4ae909c93b9ccea8f14df6aea16fc11323060f9f.zip |
If we can't retrieve the message, ignore it, it can't match.
2001-10-30 <NotZed@Ximian.com>
* camel-folder-search.c (match_message): If we can't retrieve the
message, ignore it, it can't match.
* providers/imap/camel-imap-search.c
(camel_imap_search_class_init): Setup parent class pointer.
(imap_body_contains): If offline, just use the parent
body_contains method which will get the messages and search them
manually.
* providers/imap/camel-imap-folder.c (imap_search_by_expression,
imap_search_by_uids): Remove offline check.
svn path=/trunk/; revision=14442
Diffstat (limited to 'camel/camel-folder-search.c')
-rw-r--r-- | camel/camel-folder-search.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c index eece084813..d8779d08ae 100644 --- a/camel/camel-folder-search.c +++ b/camel/camel-folder-search.c @@ -722,6 +722,8 @@ match_message(CamelFolder *folder, const char *uid, regex_t *pattern, CamelExcep if (!camel_exception_is_set(ex) && msg!=NULL) { truth = camel_search_message_body_contains((CamelDataWrapper *)msg, pattern); camel_object_unref((CamelObject *)msg); + } else { + camel_exception_clear(ex); } return truth; } |