No need to read another response line in an empty 334 response.

This commit is contained in:
Vincent Richard 2013-05-14 18:50:54 +02:00
parent 5fcb20d996
commit e7e472a544

View File

@ -168,11 +168,6 @@ const SMTPResponse::responseLine SMTPResponse::getNextResponse()
const int code = extractResponseCode(line); const int code = extractResponseCode(line);
string text; string text;
// Special case where CRLF occurs after response code
// in "Positive Intermediate replies" (3yz reply)
if (line.length() < 4 && (code / 100) == 3)
line = line + '\n' + readResponseLine();
m_responseContinues = (line.length() >= 4 && line[3] == '-'); m_responseContinues = (line.length() >= 4 && line[3] == '-');
if (line.length() > 4) if (line.length() > 4)