No need to read another response line in an empty 334 response.
This commit is contained in:
parent
5fcb20d996
commit
e7e472a544
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user