From e7e472a544f7a929e52ece7b93817bef748daf9d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 14 May 2013 18:50:54 +0200 Subject: [PATCH] No need to read another response line in an empty 334 response. --- src/net/smtp/SMTPResponse.cpp | 5 ----- 1 file changed, 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)