aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-service.c3
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c2
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: "