diff options
author | Brad King <brad.king@kitware.com> | 2018-05-21 13:52:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-05-21 13:53:06 (GMT) |
commit | 722056372e4ae640c1e61ac1dabfdd8a2737a35f (patch) | |
tree | 505f7457bc70f8f72d161e2c4660b6387713a702 /Utilities/cmcurl/lib/smtp.c | |
parent | 4d6f4500dfbb4ea46c0ee8b736979305d3e9c0d8 (diff) | |
parent | 3e913b819d8d8118d5e8dc3b7289f622e9ca92e5 (diff) | |
download | CMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.zip CMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.tar.gz CMake-722056372e4ae640c1e61ac1dabfdd8a2737a35f.tar.bz2 |
Merge topic 'update-curl'
3e913b819d Merge branch 'upstream-curl' into update-curl
d431136e02 curl 2018-05-15 (cb013830)
f3c73b878c curl: Update script to get curl 7.60.0
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2091
Diffstat (limited to 'Utilities/cmcurl/lib/smtp.c')
-rw-r--r-- | Utilities/cmcurl/lib/smtp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmcurl/lib/smtp.c b/Utilities/cmcurl/lib/smtp.c index d9f1a85..3f3b45a 100644 --- a/Utilities/cmcurl/lib/smtp.c +++ b/Utilities/cmcurl/lib/smtp.c @@ -1289,6 +1289,11 @@ static CURLcode smtp_perform(struct connectdata *conn, bool *connected, /* Store the first recipient (or NULL if not specified) */ smtp->rcpt = data->set.mail_rcpt; + /* Initial data character is the first character in line: it is implicitly + preceded by a virtual CRLF. */ + smtp->trailing_crlf = TRUE; + smtp->eob = 2; + /* Start the first command in the DO phase */ if((data->set.upload || data->set.mimepost.kind) && data->set.mail_rcpt) /* MAIL transfer */ |