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. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 7f836cf..3c22d24 100644 --- a/main.cpp +++ b/main.cpp @@ -17,7 +17,7 @@ void foo_handler(HTTP::Connection::p connection) { if(ml) { ml->render(connection); } else { - connection->send_error(404, "Not Found"); + connection->send_error(404); } } -- cgit v1.2.3