diff options
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 11 |
2 files changed, 9 insertions, 10 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 402c331b9f..52468b21d8 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2004-06-14 Not Zed <NotZed@Ximian.com> + + * providers/smtp/camel-smtp-transport.c (smtp_data): use + g_ascii_strcasecmp. + (smtp_connect): do not re-helo after we've authenticated. This + was a misreading of the spec. We must only re-helo after a + transport layer negotiation. + 2004-06-12 Jeffrey Stedfast <fejj@ximian.com> * providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 18583e6839..3245cc68a1 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -536,15 +536,6 @@ smtp_connect (CamelService *service, CamelException *ex) camel_exception_clear (ex); } } - - /* The spec says we have to re-EHLO, but some servers - * we won't bother to name don't want you to... so ignore - * errors. - */ - if (!smtp_helo (transport, ex) && !transport->connected) - return FALSE; - - camel_exception_clear (ex); } return TRUE; @@ -1287,7 +1278,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMimeMessage *message, CamelExcept header = (struct _camel_header_raw *) &CAMEL_MIME_PART (message)->headers; n = header->next; while (n != NULL) { - if (!strcasecmp (n->name, "Bcc")) { + if (!g_ascii_strcasecmp (n->name, "Bcc")) { header->next = n->next; tail->next = n; n->next = NULL; |