diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-06-14 03:06:52 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-06-14 03:06:52 +0800 |
commit | 398d437cedc1b66726dbb94ebae25508e09582d6 (patch) | |
tree | 378fd45653c21eb6bac38af117c23cabcbb6aaf8 /camel/providers/pop3/camel-pop3-provider.c | |
parent | 8853de7d70254a1cf2f6e38ceef9282fde1264f2 (diff) | |
download | gsoc2013-evolution-398d437cedc1b66726dbb94ebae25508e09582d6.tar.gz gsoc2013-evolution-398d437cedc1b66726dbb94ebae25508e09582d6.tar.zst gsoc2013-evolution-398d437cedc1b66726dbb94ebae25508e09582d6.zip |
Fix for bug #40788.
2003-06-05 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #40788.
* providers/pop3/camel-pop3-engine.c (camel_pop3_engine_new): Now
takes a flags argument. Currently there is only 1 flag which can
be used to disable Pop3 server extensions.
(get_capabilities): Don't check for Pop3 server extensions if the
DISABLE_EXTENSIONS flag is set on the engine.
(camel_pop3_engine_iterate): If we get a response that is neither
+OK nor -ERR, default to treating it like a -ERR.
* providers/pop3/camel-pop3-store.c (connect_to_server): Check for
the disable_extensions param.
* providers/pop3/camel-pop3-provider.c: Define a checkbox to
disable all POP3 extension support.
svn path=/trunk/; revision=21438
Diffstat (limited to 'camel/providers/pop3/camel-pop3-provider.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-provider.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/pop3/camel-pop3-provider.c b/camel/providers/pop3/camel-pop3-provider.c index f01cf74253..1354470e69 100644 --- a/camel/providers/pop3/camel-pop3-provider.c +++ b/camel/providers/pop3/camel-pop3-provider.c @@ -42,6 +42,8 @@ CamelProviderConfEntry pop3_conf_entries[] = { { CAMEL_PROVIDER_CONF_CHECKSPIN, "delete_after", "UNIMPLEMENTED", N_("Delete after %s day(s)"), "0:1:7:365" }, #endif + { CAMEL_PROVIDER_CONF_CHECKBOX, "disable_extensions", NULL, + N_("Disable support for all POP3 extensions"), "0" }, { CAMEL_PROVIDER_CONF_SECTION_END }, { CAMEL_PROVIDER_CONF_END } }; |