]> granicus.if.org Git - curl/commit
smtp.c: Fixed unnecessary state change if starttls fails
authorSteve Holme <steve_holme@hotmail.com>
Sun, 27 Jan 2013 10:44:21 +0000 (10:44 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 27 Jan 2013 10:44:21 +0000 (10:44 +0000)
commit0e5e720c1901b203fa6ef578ad137847796f71c8
tree0ee349e3fe15c6a864f467a2ea271bcb643db318
parent3dbf11d0a1f6986331d3a49a78c138f78693efa9
smtp.c: Fixed unnecessary state change if starttls fails

The state machine should only be changed to SMTP_STARTTLS when the
STARTTLS command has been successfully sent to the server.
lib/smtp.c