summaryrefslogtreecommitdiff
path: root/http_connection.h
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 /http_connection.h
parentab7081676adf140cc8967c5ef49641b9a37bae2b (diff)
Added response_map for http response codes.
Diffstat (limited to 'http_connection.h')
-rw-r--r--http_connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_connection.h b/http_connection.h
index e3a3721..d810254 100644
--- a/http_connection.h
+++ b/http_connection.h
@@ -44,7 +44,7 @@ namespace HTTP {
std::map<std::string, std::string> headers;
//! Send error.
- void send_error(int code, std::string name);
+ void send_error(int code);
//! Add response header.
void add_header(std::string key, std::string value);