From 2dcf3091edfb316f4cf296fbeb1264aea633c09f Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 10 Jan 2011 08:44:27 +0100 Subject: Added response_map for http response codes. --- httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httpd.cpp') 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); } } -- cgit v1.2.3