diff options
author | Not Zed <NotZed@Ximian.com> | 2005-08-09 11:58:26 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-08-09 11:58:26 +0800 |
commit | 1c2daa12a995b1385d14af681f1710cb6a010d49 (patch) | |
tree | 4b3c0ba23cad1cb6139a71c7f21f09051b49b964 /mail | |
parent | e76d72ace388180ed6f74759ac32b951aab52fa5 (diff) | |
download | gsoc2013-evolution-1c2daa12a995b1385d14af681f1710cb6a010d49.tar.gz gsoc2013-evolution-1c2daa12a995b1385d14af681f1710cb6a010d49.tar.zst gsoc2013-evolution-1c2daa12a995b1385d14af681f1710cb6a010d49.zip |
** See bug #304938.
2005-08-08 Not Zed <NotZed@Ximian.com>
** See bug #304938.
* mail-ops.c (mail_send_message): don't try to dereference the
transport if we don't have one.
svn path=/trunk/; revision=30045
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-ops.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a77528f860..abb638ef55 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2005-08-08 Not Zed <NotZed@Ximian.com> + + ** See bug #304938. + + * mail-ops.c (mail_send_message): don't try to dereference the + transport if we don't have one. + 2005-08-04 Not Zed <NotZed@Ximian.com> ** See bug #300881. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index e888ab1ed1..57347b3f69 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -567,7 +567,8 @@ mail_send_message(CamelFolder *queue, const char *uid, const char *destination, camel_exception_clear (ex); - if (!( ((CamelService *)xport)->provider->flags & CAMEL_PROVIDER_DISABLE_SENT_FOLDER)) { + if (xport == NULL + || !( ((CamelService *)xport)->provider->flags & CAMEL_PROVIDER_DISABLE_SENT_FOLDER)) { if (sent_folder_uri) { folder = mail_tool_uri_to_folder (sent_folder_uri, 0, ex); if (camel_exception_is_set(ex)) { |