Split apart password and APOP auth, since some servers seem to do both,
authorDan Winship <danw@src.gnome.org>
Sun, 28 May 2000 18:05:23 +0000 (18:05 +0000)
committerDan Winship <danw@src.gnome.org>
Sun, 28 May 2000 18:05:23 +0000 (18:05 +0000)
commitd7dcdc263b68a2b6ca55b624d503d9c83f5eb718
tree0bf4d6e491d9e8b471508ab26701d34d86d6af6a
parent7b7c03689c2cdcbd0b68d4827d1549b262c7259e
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.
camel/ChangeLog
camel/providers/pop3/camel-pop3-store.c
camel/providers/pop3/camel-pop3-store.h