From c3b178dc06d0de7500d4cba17878d15d3f9bdf9b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 28 May 2000 18:05:23 +0000 Subject: Split apart password and APOP auth, since some servers seem to do both, * providers/pop3/camel-pop3-store.c: Split apart password and APOP auth, since some servers seem to do both, but don't really. (connect_to_server): Renamed from try_connect. Now actually does the connection up to the point of checking the greeting for APOP support. (query_auth_types): Return APOP, if appropriate. Call pop3_disconnect after connect_to_server since we don't really want to be connected. (pop3_connect): Use connect_to_server rather than duplicating code. Fix a one-byte buffer overrun in the APOP code. (pop3_disconnect): Make this able to clean up after a partial connect. svn path=/trunk/; revision=3250 --- camel/providers/pop3/camel-pop3-store.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'camel/providers/pop3/camel-pop3-store.h') diff --git a/camel/providers/pop3/camel-pop3-store.h b/camel/providers/pop3/camel-pop3-store.h index e68f0fd142..41bc069ff9 100644 --- a/camel/providers/pop3/camel-pop3-store.h +++ b/camel/providers/pop3/camel-pop3-store.h @@ -47,7 +47,8 @@ typedef struct { CamelStore parent_object; CamelStream *istream, *ostream; - + char *apop_timestamp; + } CamelPop3Store; -- cgit v1.2.3