diff options
author | David Robillard <d@drobilla.net> | 2009-05-29 01:32:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-29 01:32:44 +0000 |
commit | 92a48b741ca3eb8698e6ae8f4f6923583d42cd66 (patch) | |
tree | 9efe883f128818d399298930ff7ae411d9ff8b71 /src/client | |
parent | 085f5e9c5eec12171596c47c0b70f6634dbc1402 (diff) | |
download | ingen-92a48b741ca3eb8698e6ae8f4f6923583d42cd66.tar.gz ingen-92a48b741ca3eb8698e6ae8f4f6923583d42cd66.tar.bz2 ingen-92a48b741ca3eb8698e6ae8f4f6923583d42cd66.zip |
Make connection parsing consistent with other parse methods.
Connection updates via HTTP.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2046 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/HTTPClientReceiver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/HTTPClientReceiver.cpp b/src/client/HTTPClientReceiver.cpp index be1b6238..285e797c 100644 --- a/src/client/HTTPClientReceiver.cpp +++ b/src/client/HTTPClientReceiver.cpp @@ -99,7 +99,7 @@ HTTPClientReceiver::Listener::Listener(HTTPClientReceiver* receiver, const std:: void HTTPClientReceiver::update(const std::string& str) { - cout << _parser->parse_update(_world, _target.get(), str, ""); + cout << _parser->parse_update(_world, _target.get(), str, _url); } void @@ -150,8 +150,7 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi Glib::Mutex::Lock lock(me->_mutex); me->_target->response_ok(0); me->_parser->parse_string(me->_world, me->_target.get(), - Glib::ustring(msg->response_body->data), - Glib::ustring("")); + Glib::ustring(msg->response_body->data), me->_url); } } else if (path == "/patch") { |