summaryrefslogtreecommitdiffstats
path: root/src/http/HTTPClientSender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/HTTPClientSender.cpp')
-rw-r--r--src/http/HTTPClientSender.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/http/HTTPClientSender.cpp b/src/http/HTTPClientSender.cpp
index 979d1e64..ea983ca4 100644
--- a/src/http/HTTPClientSender.cpp
+++ b/src/http/HTTPClientSender.cpp
@@ -36,14 +36,12 @@ namespace Ingen {
namespace Server {
void
-HTTPClientSender::response_ok(int32_t id)
+HTTPClientSender::response(int32_t id, Status status)
{
-}
-
-void
-HTTPClientSender::response_error(int32_t id, const std::string& msg)
-{
- warn << "HTTP Error " << id << " (" << msg << ")" << endl;
+ if (status) {
+ warn << "HTTP Error " << id
+ << " (" << ingen_status_string(status) << ")" << endl;
+ }
}
void