From 16fe42c893218a56e9b7fb1cd9418f8569a0f51f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 25 Jul 2002 22:11:11 +0000 Subject: Remove "possibly non-fatal" exception strings, all exceptions are fatal 2002-07-25 Jeffrey Stedfast * providers/smtp/camel-smtp-transport.c: Remove "possibly non-fatal" exception strings, all exceptions are fatal unless their caller decides otherwise. (connect_to_server): If smtp_helo() fails due to us getting disconnected, treat the exception as fatal. (smtp_connect): Abort if smtp_helo() fails and we got disconnected. (smtp_send_to): If smtp_mail() fails, abort the send operation. (smtp_set_exception): If respbuf was NULL, then we got disconnected and so update our state accordingly. (smtp_disconnect): Only send a QUIT if we are still in the connected state (or, at least think we are). svn path=/trunk/; revision=17595 --- camel/providers/smtp/camel-smtp-transport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/providers/smtp/camel-smtp-transport.h') diff --git a/camel/providers/smtp/camel-smtp-transport.h b/camel/providers/smtp/camel-smtp-transport.h index 0a57213c8d..9874eb09c3 100644 --- a/camel/providers/smtp/camel-smtp-transport.h +++ b/camel/providers/smtp/camel-smtp-transport.h @@ -62,6 +62,7 @@ typedef struct { guint32 flags; + gboolean connected; CamelTcpAddress *localaddr; GHashTable *authtypes; -- cgit v1.2.3