summaryrefslogtreecommitdiffstats
path: root/src/WebAdmin.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-03 13:46:45 +0100
committerMattes D <github@xoft.cz>2016-03-03 13:46:45 +0100
commit4bf2dd2d2bb3fa1a75507a26e5db2171e6560263 (patch)
tree1ed3a4ea951c56eec572bbaa9cb8d2ce0c8c4216 /src/WebAdmin.cpp
parentMerge pull request #3060 from tonibm19/master (diff)
downloadcuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar.gz
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar.bz2
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar.lz
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar.xz
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.tar.zst
cuberite-4bf2dd2d2bb3fa1a75507a26e5db2171e6560263.zip
Diffstat (limited to 'src/WebAdmin.cpp')
-rw-r--r--src/WebAdmin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp
index 08e90ea13..e43d749dd 100644
--- a/src/WebAdmin.cpp
+++ b/src/WebAdmin.cpp
@@ -318,6 +318,7 @@ void cWebAdmin::HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTT
Resp.SetContentType("text/html");
a_Connection.Send(Resp);
a_Connection.Send(Template.c_str(), Template.length());
+ a_Connection.FinishResponse();
return;
}
a_Connection.SendStatusAndReason(500, "m_TemplateScript failed");