aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-26 23:15:16 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-26 23:15:16 +0000
commitaa44ec62aabab70b0f5e513726dd68dea8bbd822 (patch)
tree7d2f4276f192937537b663b703e634b55ac665e0 /lib/pop3.h
parent05c03e7edd02e6ce2289c0ef707819439de242f0 (diff)
email: Slight reordering of connection based variables
Reordered the state and ssl_done variables in order to provide more consistency between the email protocols as well as for for an upcoming change.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index 4277535ae..335e67d77 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -66,6 +66,8 @@ struct POP3 {
struct */
struct pop3_conn {
struct pingpong pp;
+ pop3state state; /* Always use pop3.c:state() to change state! */
+ bool ssldone; /* Is connect() over SSL done? */
size_t eob; /* Number of bytes of the EOB (End Of Body) that
have been received so far */
size_t strip; /* Number of bytes from the start to ignore as
@@ -74,8 +76,6 @@ struct pop3_conn {
unsigned int authmechs; /* Accepted SASL authentication mechanisms */
unsigned int authused; /* SASL auth mechanism used for the connection */
char *apoptimestamp; /* APOP timestamp from the server greeting */
- pop3state state; /* Always use pop3.c:state() to change state! */
- bool ssldone; /* Is connect() over SSL done? */
bool tls_supported; /* StartTLS capability supported by server */
};