diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2006-08-22 00:25:57 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-08-22 00:25:57 +0800 |
commit | 33e18ea5690807a0807063923155e8d1f699351f (patch) | |
tree | 44a3f4dc1b4435e9dfea7b3712d54696239eeff0 | |
parent | b70c1439bf9a941c67831aecf4544f11b1834e68 (diff) | |
download | gsoc2013-evolution-33e18ea5690807a0807063923155e8d1f699351f.tar.gz gsoc2013-evolution-33e18ea5690807a0807063923155e8d1f699351f.tar.zst gsoc2013-evolution-33e18ea5690807a0807063923155e8d1f699351f.zip |
Silence Camel exception warning at startup - fixes bug 352248.
2006-08-21 Matthew Barnes <mbarnes@redhat.com>
* mail-send-recv.c:
Silence Camel exception warning at startup - fixes bug 352248.
svn path=/trunk/; revision=32617
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8ac40d8d0e..69cec633be 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2006-08-21 Matthew Barnes <mbarnes@redhat.com> + + * mail-send-recv.c: + Silence Camel exception warning at startup - fixes bug 352248. + 2006-08-21 Srinivasa Ragavan <sragavan@novell.com> ** Fixes a lot of search issues including widget packing. diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 3fcf6a044b..fb4b5e0eed 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -286,13 +286,17 @@ format_url(const char *internal_url, const char *account_name) static send_info_t get_receive_type(const char *url) { CamelProvider *provider; + CamelException ex; /* HACK: since mbox is ALSO used for native evolution trees now, we need to fudge this to treat it as a special 'movemail' source */ if (!strncmp(url, "mbox:", 5)) return SEND_RECEIVE; - provider = camel_provider_get(url, NULL); + camel_exception_init (&ex); + provider = camel_provider_get(url, &ex); + camel_exception_clear (&ex); + if (!provider) return SEND_INVALID; |