]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: client: Fix smtp_client_command_name_equals() to work properly after the...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 23 Dec 2017 21:49:57 +0000 (22:49 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 23 Dec 2017 21:49:57 +0000 (22:49 +0100)
commitf2217546e5d72083977812c42a951ecad1757ac5
treefe253e6b2d1fe15f817969c7663508d6c274a33c
parent2dd20833b86743fe1e45c5af06d9c5f2549126e3
lib-smtp: client: Fix smtp_client_command_name_equals() to work properly after the command is submitted.

At command submission, CRLF is appended to command data. This messed up the name comparison.
This in turn caused a spurious QUIT command to be sent to the server at connection close.
src/lib-smtp/smtp-client-command.c