summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-29 01:32:44 +0000
committerDavid Robillard <d@drobilla.net>2009-05-29 01:32:44 +0000
commit92a48b741ca3eb8698e6ae8f4f6923583d42cd66 (patch)
tree9efe883f128818d399298930ff7ae411d9ff8b71 /src/engine
parent085f5e9c5eec12171596c47c0b70f6634dbc1402 (diff)
downloadingen-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/engine')
-rw-r--r--src/engine/HTTPEngineReceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/HTTPEngineReceiver.cpp b/src/engine/HTTPEngineReceiver.cpp
index b2d3ca99..d4c0ac1e 100644
--- a/src/engine/HTTPEngineReceiver.cpp
+++ b/src/engine/HTTPEngineReceiver.cpp
@@ -124,7 +124,7 @@ HTTPEngineReceiver::message_callback(SoupServer* server, SoupMessage* msg, const
SharedPtr<Serialiser> serialiser = me->_engine.world()->serialiser;
- const string base_uri = "";
+ const string base_uri = "path:/";
const char* mime_type = "text/plain";
if (!strcmp(msg->method, SOUP_METHOD_PUT)) {
@@ -232,7 +232,7 @@ HTTPEngineReceiver::message_callback(SoupServer* server, SoupMessage* msg, const
return;
}
- parser->parse_string(me->_engine.world(), me, msg->request_body->data, "");
+ parser->parse_string(me->_engine.world(), me, msg->request_body->data, base_uri);
// Load object
soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);