summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-03 18:30:29 +0000
committerDavid Robillard <d@drobilla.net>2010-02-03 18:30:29 +0000
commit3bfa32ee840e1f5abbfc392a2323e9ba0c4a78ce (patch)
tree07da97dd84b5e6cc048ed444e1770161d932af6d /src/client
parentbbca7aae0acb0d3803f7527e3af3517765e75d22 (diff)
downloadingen-3bfa32ee840e1f5abbfc392a2323e9ba0c4a78ce.tar.gz
ingen-3bfa32ee840e1f5abbfc392a2323e9ba0c4a78ce.tar.bz2
ingen-3bfa32ee840e1f5abbfc392a2323e9ba0c4a78ce.zip
Fix connecting via HTTP (partially, GUI shows up at least...).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-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") {