summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-04 11:16:19 +0200
committermadmaxoft <github@xoft.cz>2014-08-04 11:30:20 +0200
commit1fa210c7f91030ac18fd880fcf131e8104c0b889 (patch)
tree6d63d6572c053b9474d7c2d6c412d9bb0a516ac5 /src/HTTPServer
parentAnvil: Wolf owner not saved if not present. (diff)
downloadcuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.gz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.bz2
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.lz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.xz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.zst
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.zip
Diffstat (limited to '')
-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())
{