]> granicus.if.org Git - curl/commit
smtp: Fixed an issue when processing EHLO failure responses
authorSteve Holme <steve_holme@hotmail.com>
Sat, 9 Feb 2013 00:22:25 +0000 (00:22 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 9 Feb 2013 00:22:25 +0000 (00:22 +0000)
commit23d17190ee3273b0718e0ca62f73bacf257088cf
treed57cf00b0fa82214bf474a7391a1ecc5729cf83c
parent21657823ea3df5d55ddf3ce290d8468858aee1a4
smtp: Fixed an issue when processing EHLO failure responses

Fixed a small issue where smtp_endofresp() would look for capabilities
in the description part of a failure response. In theory a server
shouldn't respond with SIZE or AUTH in an EHLO command's failure
response but if it did then capabilities would be unnecessarily set
before eventually failing.
lib/smtp.c