From aa44ec62aabab70b0f5e513726dd68dea8bbd822 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 26 Feb 2013 23:15:16 +0000 Subject: 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. --- lib/imap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/imap.h') diff --git a/lib/imap.h b/lib/imap.h index e6ede9777..aafa63417 100644 --- a/lib/imap.h +++ b/lib/imap.h @@ -67,12 +67,12 @@ struct IMAP { struct */ struct imap_conn { struct pingpong pp; + imapstate state; /* Always use imap.c:state() to change state! */ + bool ssldone; /* Is connect() over SSL done? */ unsigned int authmechs; /* Accepted authentication mechanisms */ unsigned int authused; /* Auth mechanism used for the connection */ - imapstate state; /* Always use imap.c:state() to change state! */ int cmdid; /* Last used command ID */ char resptag[5]; /* Response tag to wait for */ - bool ssldone; /* Is connect() over SSL done? */ bool tls_supported; /* StartTLS capability supported by server */ bool login_disabled; /* LOGIN command disabled by server */ bool ir_supported; /* Initial response supported by server */ -- cgit v1.2.3