diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-05 03:51:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-05 03:51:45 +0800 |
commit | 1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2 (patch) | |
tree | 137b2192291d2af0ff369f2e2d49d7488d824a05 /camel | |
parent | 774f68240c18cfb8d7512280745ccdc6c062f320 (diff) | |
download | gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar.gz gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar.bz2 gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar.lz gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar.xz gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.tar.zst gsoc2013-evolution-1b7cf38b9cb6c7fddbe44330f7fc0d5089ff15b2.zip |
Do a clean disconnect.
2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
* camel-service.c (camel_service_finalize): Do a clean disconnect.
svn path=/trunk/; revision=12593
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-service.c | 3 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 66d0f3ffbd..32489cb47a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2001-09-04 Jeffrey Stedfast <fejj@ximian.com> + + * camel-service.c (camel_service_finalize): Do a clean disconnect. + 2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-spool-store.c (get_inbox): Return the diff --git a/camel/camel-service.c b/camel/camel-service.c index 8bb3a9b3a1..27d6a5bbee 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -98,9 +98,8 @@ camel_service_finalize (CamelObject *object) if (service->connected) { CamelException ex; - /*g_warning ("camel_service_finalize: finalizing while still connected!");*/ camel_exception_init (&ex); - CSERV_CLASS (service)->disconnect (service, FALSE, &ex); + CSERV_CLASS (service)->disconnect (service, TRUE, &ex); if (camel_exception_is_set (&ex)) { g_warning ("camel_service_finalize: silent disconnect failure: %s", camel_exception_get_description (&ex)); diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 1f3abf987d..a9290c41cb 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -577,7 +577,7 @@ smtp_send_to (CamelTransport *transport, CamelMedium *message, gboolean has_8bit_parts; GList *r; - cia = camel_mime_message_get_from(CAMEL_MIME_MESSAGE (message)); + cia = camel_mime_message_get_from (CAMEL_MIME_MESSAGE (message)); if (!cia) { camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot send message: " |