diff options
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index bb0086c701..2a2cd1ddf0 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -261,8 +261,11 @@ format_url(const char *internal_url) static send_info_t get_receive_type(const char *url) { CamelProvider *provider; + CamelException ex; - provider = camel_session_get_provider (session, url, NULL); + camel_exception_init(&ex); + provider = camel_session_get_provider (session, url, &ex); + camel_exception_clear(&ex); if (!provider) return SEND_INVALID; |