summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-04 12:11:38 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-04 12:11:38 +0200
commit7bd414e9edf432641c30448c3fc0ff04d91ad3ab (patch)
tree93cb320e9911343f052b722278231c8b9dd79a1a /src/HTTPServer
parentChanged /** to /* (diff)
parentMerge pull request #1285 from mc-server/StrCaseRefactor (diff)
downloadcuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.gz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.bz2
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.lz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.xz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.zst
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.zip
Diffstat (limited to 'src/HTTPServer')
-rw-r--r--src/HTTPServer/HTTPMessage.cpp3
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())
{