Remove the "quick_login" member, which is unnecessary.
authorDan Winship <danw@src.gnome.org>
Mon, 2 Apr 2001 20:57:39 +0000 (20:57 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 2 Apr 2001 20:57:39 +0000 (20:57 +0000)
commit97b18322f127490b8f46203c9a02ad24c8f11f0a
tree7cbe86f394ea8362baca77076841feb22293ec15
parent4001702701e7e05d9cc11cff121172309eec0c86
Remove the "quick_login" member, which is unnecessary.

* camel-service.h: Remove the "quick_login" member, which is
unnecessary.

* providers/smtp/camel-smtp-transport.c (smtp_auth): Remove the
references to quick_login and fix this to use the CamelSasl
interfaces correctly to do the same thing.
(connect_to_server): Split this out of smtp_connect
(smtp_connect): Use connect_to_server. When re-EHLO'ing after
auth, ignore errors.
(query_auth_types): Use connect_to_server rather than
smtp_connect, so it doesn't try to authenticate. Add LOGIN
authtype to the list of authtypes to check for.

* providers/smtp/camel-smtp-provider.c
(camel_provider_module_init): Add LOGIN authtype to the authtypes
list explicitly.

* camel-sasl.c (camel_sasl_authtype_list): Don't list LOGIN here:
it's not a real SASL authtype and is only used for SMTP.

* camel-sasl-plain.c:
* camel-sasl-login.c:
* camel-sasl-kerberos4.c:
* camel-sasl-cram-md5.c:
* camel-sasl-anonymous.c:
* providers/pop3/camel-pop3-provider.c: Remove "quick_login"
argument from authtypes.
12 files changed:
camel/ChangeLog
camel/camel-sasl-anonymous.c
camel/camel-sasl-cram-md5.c
camel/camel-sasl-digest-md5.c
camel/camel-sasl-kerberos4.c
camel/camel-sasl-login.c
camel/camel-sasl-plain.c
camel/camel-sasl.c
camel/camel-service.h
camel/providers/pop3/camel-pop3-provider.c
camel/providers/smtp/camel-smtp-provider.c
camel/providers/smtp/camel-smtp-transport.c