aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp/camel-smtp-provider.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-03 04:57:39 +0800
committerDan Winship <danw@src.gnome.org>2001-04-03 04:57:39 +0800
commit014ed35be581511ae4c69cbdc38a3536aae39cf3 (patch)
tree51dc0f58554a59ba7bb23f2d37d7f592b3bfdaa4 /camel/providers/smtp/camel-smtp-provider.c
parent6b674781defaf52cf8a902357864b3ea793c2352 (diff)
downloadgsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar.gz
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar.bz2
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar.lz
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar.xz
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.tar.zst
gsoc2013-evolution-014ed35be581511ae4c69cbdc38a3536aae39cf3.zip
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. svn path=/trunk/; revision=9100
Diffstat (limited to 'camel/providers/smtp/camel-smtp-provider.c')
-rw-r--r--camel/providers/smtp/camel-smtp-provider.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c
index b84a6a0d83..3bb47b3429 100644
--- a/camel/providers/smtp/camel-smtp-provider.c
+++ b/camel/providers/smtp/camel-smtp-provider.c
@@ -54,7 +54,8 @@ camel_provider_module_init (CamelSession *session)
{
smtp_provider.object_types[CAMEL_PROVIDER_TRANSPORT] =
camel_smtp_transport_get_type ();
- smtp_provider.authtypes = camel_sasl_authtype_list (TRUE);
+ smtp_provider.authtypes = g_list_append (camel_sasl_authtype_list (TRUE),
+ camel_sasl_authtype ("LOGIN"));
smtp_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal);
camel_session_register_provider (session, &smtp_provider);