From b6210c151d6519a299531d6783d1f29b95eb45e0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 12 Aug 2000 21:58:01 +0000 Subject: No longer calls try_connect() to get authtypes 2000-08-12 Jeffrey Stedfast * providers/imap/camel-imap-store.c (query_auth_types): No longer calls try_connect() to get authtypes svn path=/trunk/; revision=4782 --- camel/providers/imap/camel-imap-store.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'camel/providers/imap/camel-imap-store.c') diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index d5985bb9ea..07d13396d3 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -146,6 +146,7 @@ static CamelServiceAuthType password_authtype = { TRUE }; +#if 0 static gboolean try_connect (CamelService *service, CamelException *ex) { @@ -174,19 +175,20 @@ try_connect (CamelService *service, CamelException *ex) close (fd); return TRUE; } +#endif static GList * query_auth_types (CamelService *service, CamelException *ex) { GList *ret = NULL; gboolean passwd = TRUE; - +#if 0 if (service->url) { passwd = try_connect (service, ex); if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) return NULL; } - +#endif if (passwd) ret = g_list_append (ret, &password_authtype); -- cgit v1.2.3