diff options
-rw-r--r-- | src/net/pop3/POP3Response.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/pop3/POP3Response.cpp b/src/net/pop3/POP3Response.cpp index a48dc72f..d61e1e6d 100644 --- a/src/net/pop3/POP3Response.cpp +++ b/src/net/pop3/POP3Response.cpp @@ -324,13 +324,13 @@ bool POP3Response::stripFirstLine if (end != string::npos) { - if (firstLine) *firstLine = buffer.substr(0, end); + if (firstLine) *firstLine = utility::stringUtils::trim(buffer.substr(0, end)); result = buffer.substr(end + 1); return true; } else { - if (firstLine) *firstLine = buffer; + if (firstLine) *firstLine = utility::stringUtils::trim(buffer); result = ""; return false; } |