diff options
author | Not Zed <NotZed@Ximian.com> | 2004-06-14 10:46:03 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-06-14 10:46:03 +0800 |
commit | ac86e91fbd40e9a9336a7591110010b54f6014d9 (patch) | |
tree | 40358cb3082c36c11ab02293d84f3e7d5612e031 /camel/providers | |
parent | 4aa7df085b273c170f09380b106116d9809f1d84 (diff) | |
download | gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar.gz gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar.bz2 gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar.lz gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar.xz gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.tar.zst gsoc2013-evolution-ac86e91fbd40e9a9336a7591110010b54f6014d9.zip |
use g_ascii_strcasecmp. (smtp_connect): do not re-helo after we've
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.
svn path=/trunk/; revision=26329
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 11 |
1 files changed, 1 insertions, 10 deletions
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; |