diff options
author | Mattes D <github@xoft.cz> | 2014-08-04 12:02:57 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-04 12:02:57 +0200 |
commit | 7b986e65d2b7d7cad6768599ba4298b62b16c35f (patch) | |
tree | dd627e5e467d4bf0f3ed47aa1201b6ab94e9c35a /src/HTTPServer | |
parent | Merge pull request #1283 from Howaner/GlobalFixes (diff) | |
parent | Refactored case-conversion functions. (diff) | |
download | cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.gz cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.bz2 cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.lz cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.xz cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.zst cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.zip |
Diffstat (limited to 'src/HTTPServer')
-rw-r--r-- | src/HTTPServer/HTTPMessage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/HTTPServer/HTTPMessage.cpp b/src/HTTPServer/HTTPMessage.cpp index 4226352e9..65d73fd87 100644 --- a/src/HTTPServer/HTTPMessage.cpp +++ b/src/HTTPServer/HTTPMessage.cpp @@ -35,8 +35,7 @@ cHTTPMessage::cHTTPMessage(eKind a_Kind) : void cHTTPMessage::AddHeader(const AString & a_Key, const AString & a_Value) { - AString Key = a_Key; - StrToLower(Key); + AString Key = StrToLower(a_Key); cNameValueMap::iterator itr = m_Headers.find(Key); if (itr == m_Headers.end()) { |