aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-13 05:58:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-13 05:58:01 +0800
commitb6210c151d6519a299531d6783d1f29b95eb45e0 (patch)
treedb991d6682797dfab14ac97ac794075ee886dac9 /camel/providers/imap
parentade9b9ac4dd6998085912166651f666b222d3876 (diff)
downloadgsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar.gz
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar.bz2
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar.lz
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar.xz
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.tar.zst
gsoc2013-evolution-b6210c151d6519a299531d6783d1f29b95eb45e0.zip
No longer calls try_connect() to get authtypes
2000-08-12 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-store.c (query_auth_types): No longer calls try_connect() to get authtypes svn path=/trunk/; revision=4782
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-store.c6
1 files changed, 4 insertions, 2 deletions
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);