diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-30 22:22:22 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-30 22:25:23 +0100 |
commit | 46d26a0e77d9c93482413027b7b140140269fa2e (patch) | |
tree | 2c7c5dcbb45334581ebfbf4092464510bfe043ea /lib/smtp.h | |
parent | f4e3cae8a792e10259398f4eeec9348fdda690df (diff) | |
download | curl-46d26a0e77d9c93482413027b7b140140269fa2e.tar.gz |
smtp: Tidy up to move the eob counter to the per-request structure
Move the eob counter from the smtp_conn structure to the SMTP structure
as it is associated with a SMTP payload on a per-request basis.
Diffstat (limited to 'lib/smtp.h')
-rw-r--r-- | lib/smtp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smtp.h b/lib/smtp.h index ed704abd6..7a03e51ce 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -60,6 +60,8 @@ typedef enum { struct SMTP { curl_pp_transfer transfer; struct curl_slist *rcpt; /* Recipient list */ + size_t eob; /* Number of bytes of the EOB (End Of Body) that + have been received so far */ }; /* smtp_conn is used for struct connection-oriented data in the connectdata @@ -69,8 +71,6 @@ struct smtp_conn { 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 prefmech; /* Preferred authentication mechanism */ unsigned int authused; /* Auth mechanism used for the connection */ |