From cc44248f58d10c10f34b2a1408a627a167c3d4df Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 1 Jun 2003 23:49:29 +0000 Subject: Turn off debugging. 2003-06-01 Jeffrey Stedfast * broken-date-parser.c (d): Turn off debugging. * providers/pop3/camel-pop3-engine.c (get_capabilities): Move the code that prepends the 'password' authtype to the auth list so that we don't add it again when regetting the capabilities. svn path=/trunk/; revision=21360 --- camel/ChangeLog | 8 ++++++++ camel/broken-date-parser.c | 2 +- camel/providers/pop3/camel-pop3-engine.c | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 69fc8a3a42..7ea58c89d4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,11 @@ +2003-06-01 Jeffrey Stedfast + + * broken-date-parser.c (d): Turn off debugging. + + * providers/pop3/camel-pop3-engine.c (get_capabilities): Move the + code that prepends the 'password' authtype to the auth list so + that we don't add it again when regetting the capabilities. + 2003-05-30 Jeffrey Stedfast * camel-filter-driver.c (run_only_once): Turned off a debugging diff --git a/camel/broken-date-parser.c b/camel/broken-date-parser.c index 7dcdf1e61e..60e5f1760a 100644 --- a/camel/broken-date-parser.c +++ b/camel/broken-date-parser.c @@ -36,7 +36,7 @@ #include "broken-date-parser.h" #include "e-time-utils.h" -#define d(x) x +#define d(x) #define NUMERIC_CHARS "1234567890" #define WEEKDAY_CHARS "SundayMondayTuesdayWednesdayThursdayFridaySaturday" diff --git a/camel/providers/pop3/camel-pop3-engine.c b/camel/providers/pop3/camel-pop3-engine.c index 6ea3704667..762212388e 100644 --- a/camel/providers/pop3/camel-pop3-engine.c +++ b/camel/providers/pop3/camel-pop3-engine.c @@ -209,10 +209,10 @@ get_capabilities(CamelPOP3Engine *pe, int read_greeting) pe->capa = CAMEL_POP3_CAP_APOP; pe->auth = g_list_append(pe->auth, &camel_pop3_apop_authtype); } + + pe->auth = g_list_prepend(pe->auth, &camel_pop3_password_authtype); } - - pe->auth = g_list_prepend(pe->auth, &camel_pop3_password_authtype); - + pc = camel_pop3_engine_command_new(pe, CAMEL_POP3_COMMAND_MULTI, cmd_capa, NULL, "CAPA\r\n"); while (camel_pop3_engine_iterate(pe, pc) > 0) ; -- cgit v1.2.3