summaryrefslogtreecommitdiff
path: root/src/HttpServer.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-01 07:18:00 -0700
committerPixel <pixel@nobis-crew.org>2012-04-01 07:18:00 -0700
commit1fdf750ee66ee9e4e872d2810e9ca3bcfa2d555e (patch)
tree2d7b8ddbae76d1924fec41bc74f7ebeb730ac6ff /src/HttpServer.cc
parent8dfe080bf03fde34415f3edfbb0426260eeaeaec (diff)
More code cleanup.
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r--src/HttpServer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc
index c234096..c9cb0ee 100644
--- a/src/HttpServer.cc
+++ b/src/HttpServer.cc
@@ -39,7 +39,7 @@ class HttpWorker : public Task {
static void buildErrorTemplate(const String & str) { m_errorTemplate.setTemplate(str); }
private:
virtual void Do();
- virtual const char * getName();
+ virtual const char * getName() const;
bool handleClient();
void sendError(int error, const char * msg, const char * details, bool closeConnection, std::vector<String> extraHeaders, std::vector<String> trace);
@@ -586,7 +586,7 @@ void Balau::HttpWorker::Do() {
clientStop = !handleClient() || m_socket->isClosed();
}
-const char * Balau::HttpWorker::getName() {
+const char * Balau::HttpWorker::getName() const {
return m_name.to_charp();
}