diff options
Diffstat (limited to 'src/net/smtp/SMTPResponse.cpp')
-rw-r--r-- | src/net/smtp/SMTPResponse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/smtp/SMTPResponse.cpp b/src/net/smtp/SMTPResponse.cpp index 17d5d0c9..24301c57 100644 --- a/src/net/smtp/SMTPResponse.cpp +++ b/src/net/smtp/SMTPResponse.cpp @@ -49,7 +49,7 @@ SMTPResponse::SMTPResponse(const SMTPResponse&) } -const int SMTPResponse::getCode() const +int SMTPResponse::getCode() const { const int firstCode = m_lines[0].getCode(); @@ -179,7 +179,7 @@ const SMTPResponse::responseLine SMTPResponse::getNextResponse() // static -const int SMTPResponse::extractResponseCode(const string& response) +int SMTPResponse::extractResponseCode(const string& response) { int code = 0; @@ -200,7 +200,7 @@ const SMTPResponse::responseLine SMTPResponse::getLineAt(const unsigned int pos) } -const unsigned int SMTPResponse::getLineCount() const +unsigned int SMTPResponse::getLineCount() const { return m_lines.size(); } @@ -227,7 +227,7 @@ void SMTPResponse::responseLine::setCode(const int code) } -const int SMTPResponse::responseLine::getCode() const +int SMTPResponse::responseLine::getCode() const { return m_code; } |