summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/HTTPClientReceiver.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/HTTPClientReceiver.cpp b/src/client/HTTPClientReceiver.cpp
index 0eee23ca..1706b77c 100644
--- a/src/client/HTTPClientReceiver.cpp
+++ b/src/client/HTTPClientReceiver.cpp
@@ -174,15 +174,12 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi
HTTPClientReceiver* me = (HTTPClientReceiver*)ptr;
const string path = soup_message_get_uri(msg)->path;
- /*LOG(debug) << path << endl
- << msg->response_body->data << endl;*/
-
if (msg->response_body->data == NULL) {
LOG(error) << "Empty client message" << endl;
return;
}
- if (path == Path::root.str()) {
+ if (path == "/") {
me->_target->response_ok(0);
} else if (path == "/plugins") {