diff options
| author | Vincent Richard <[email protected]> | 2013-05-14 16:50:54 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2013-05-14 16:50:54 +0000 |
| commit | e7e472a544f7a929e52ece7b93817bef748daf9d (patch) | |
| tree | 3ac0179e33fe09f95c2a9a397135c694da99eb8e /src | |
| parent | Do not increment tag after sending command (parser needs current tag). (diff) | |
| download | vmime-e7e472a544f7a929e52ece7b93817bef748daf9d.tar.gz vmime-e7e472a544f7a929e52ece7b93817bef748daf9d.zip | |
No need to read another response line in an empty 334 response.
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/smtp/SMTPResponse.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net/smtp/SMTPResponse.cpp b/src/net/smtp/SMTPResponse.cpp index 8f784300..91923339 100644 --- a/src/net/smtp/SMTPResponse.cpp +++ b/src/net/smtp/SMTPResponse.cpp @@ -168,11 +168,6 @@ const SMTPResponse::responseLine SMTPResponse::getNextResponse() const int code = extractResponseCode(line); 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] == '-'); if (line.length() > 4) |
