aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.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/smtp.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/smtp.h')
-rw-r--r--lib/smtp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smtp.h b/lib/smtp.h
index 76a8525a9..837ab0828 100644
--- a/lib/smtp.h
+++ b/lib/smtp.h
@@ -66,13 +66,13 @@ struct SMTP {
struct */
struct smtp_conn {
struct pingpong pp;
+ smtpstate state; /* Always use smtp.c:state() to change state! */
+ bool ssldone; /* Is connect() over SSL done? */
char *domain; /* Client address/name to send in the EHLO */
size_t eob; /* Number of bytes of the EOB (End Of Body) that
have been received so far */
unsigned int authmechs; /* Accepted authentication mechanisms */
unsigned int authused; /* Auth mechanism used for the connection */
- smtpstate state; /* Always use smtp.c:state() to change state! */
- bool ssldone; /* Is connect() over SSL done? */
bool tls_supported; /* StartTLS capability supported by server */
bool size_supported; /* If server supports SIZE extension according to
RFC 1870 */