summaryrefslogtreecommitdiff
path: root/httpd.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-01-10 08:44:27 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-01-10 08:44:27 +0100
commit2dcf3091edfb316f4cf296fbeb1264aea633c09f (patch)
tree43c6202da5f724a62979bd9d37dfd53d5521b400 /httpd.cpp
parentab7081676adf140cc8967c5ef49641b9a37bae2b (diff)
Added response_map for http response codes.
Diffstat (limited to 'httpd.cpp')
-rw-r--r--httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.cpp b/httpd.cpp
index 22ca999..e8d8a2c 100644
--- a/httpd.cpp
+++ b/httpd.cpp
@@ -29,6 +29,6 @@ void HTTP::Server::handle_request(Connection::p connection) {
// Call handler.
handlers[handler](connection);
} else {
- connection->send_error(404, "Not Found");
+ connection->send_error(404);
}
}