aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-11 08:03:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-11 08:03:54 +0800
commit30a405f7dc389c35088a4b42f82bf117c21e4ea0 (patch)
treeda195267e1efe20c8e2b35d4423e8db3c0624289 /mail/mail-ops.c
parent78544223ad29c9e74282134663370c3c71360f1b (diff)
downloadgsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar.gz
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar.bz2
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar.lz
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar.xz
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.tar.zst
gsoc2013-evolution-30a405f7dc389c35088a4b42f82bf117c21e4ea0.zip
Fix bug #4523 for good. (save_service): If service->authitem is NULL, then
2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (build_auth_menu): Fix bug #4523 for good. (save_service): If service->authitem is NULL, then the user tried to enable authentication but the provider doesn't actually support it. svn path=/trunk/; revision=11905
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 0708fb3312..5af610aee3 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -507,13 +507,15 @@ mail_send_message(CamelMimeMessage *message, const char *destination, CamelFilte
}
xport = camel_session_get_transport (session, transport_url ? transport_url : destination, ex);
+ g_assert (CAMEL_OBJECT (xport)->ref_count == 1);
g_free (transport_url);
if (!xport) {
g_free (sent_folder_uri);
return;
}
- camel_transport_send (xport, (CamelMedium *)message, ex);
+ camel_transport_send (xport, CAMEL_MEDIUM (message), ex);
+ g_assert (CAMEL_OBJECT (xport)->ref_count == 1);
camel_object_unref (CAMEL_OBJECT (xport));
if (camel_exception_is_set (ex)) {
g_free (sent_folder_uri);