smtp.c: Fixed an issue with the EOB checking
authorSteve Holme <steve_holme@hotmail.com>
Fri, 17 Feb 2012 18:24:52 +0000 (18:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Feb 2012 21:47:19 +0000 (22:47 +0100)
commit3d98aed5b351b6437a6ffffed0589f8ab02a59e0
treecb29388451e8c1350d3e1c47b8d3d12c51e2b45d
parent4cf742f34f77e4cc3b5418371357bb38a1e03cce
smtp.c: Fixed an issue with the EOB checking

Curl_smtp_escape_eob() would leave off final CRLFs from emails ending
in multiple blank lines additionally leaving the smtpc->eob variable
with the character count in, which would cause problems for additional
emails when sent through multiple calls to curl_easy_perform() after a
CURLOPT_CONNECT_ONLY.
lib/smtp.c