aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 7fe0aa5384..f3045372bb 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -198,9 +198,8 @@ smtp_connect (CamelService *service, CamelException *ex)
if (!transport->is_esmtp) {
/* If we did not auto-detect ESMTP, we should still send EHLO */
transport->is_esmtp = TRUE;
- if (!smtp_helo (transport, ex)) {
+ if (!smtp_helo (transport, NULL)) {
/* Okay, apprently this server doesn't support ESMTP */
- camel_exception_clear (ex);
transport->is_esmtp = FALSE;
smtp_helo (transport, ex);
}