aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-23 19:39:22 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-23 19:39:22 +0000
commit8a468ef2225d77e195459e44a14d391a651ed5ae (patch)
treec36b578e266a2813281180c18f954069f8a97be8 /lib/smtp.h
parented7d438a124a2504f07e19379cc90c45b530a8ea (diff)
smtp: Moved the per-request variables to the per-request data structure
Moved the rcpt variable from the per-connection struct smtp_conn to the new per-request struct and fixed references accordingly.
Diffstat (limited to 'lib/smtp.h')
-rw-r--r--lib/smtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.h b/lib/smtp.h
index f78e2c5b4..ee057af79 100644
--- a/lib/smtp.h
+++ b/lib/smtp.h
@@ -62,6 +62,7 @@ struct SMTP {
char *user; /* User name string */
char *passwd; /* Password string */
curl_pp_transfer transfer;
+ struct curl_slist *rcpt; /* Recipient list */
};
/* smtp_conn is used for struct connection-oriented data in the connectdata
@@ -74,7 +75,6 @@ struct smtp_conn {
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! */
- struct curl_slist *rcpt; /* Recipient list */
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