summaryrefslogtreecommitdiffstats
path: root/src/http
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-12 10:48:20 +0000
committerDavid Robillard <d@drobilla.net>2012-03-12 10:48:20 +0000
commit31f009967ea0a1664c05d38ea1c126e0c678b20a (patch)
tree419957f4a59eb4cdc4fa09bec0225095737fe58c /src/http
parent8a69f9bdbf45a049d9dbb93a198dd92bda733927 (diff)
downloadingen-31f009967ea0a1664c05d38ea1c126e0c678b20a.tar.gz
ingen-31f009967ea0a1664c05d38ea1c126e0c678b20a.tar.bz2
ingen-31f009967ea0a1664c05d38ea1c126e0c678b20a.zip
Disable OSC and HTTP for now.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4057 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/http')
-rw-r--r--src/http/HTTPClientSender.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/HTTPClientSender.cpp b/src/http/HTTPClientSender.cpp
index ea983ca4..1dfc1da7 100644
--- a/src/http/HTTPClientSender.cpp
+++ b/src/http/HTTPClientSender.cpp
@@ -60,12 +60,13 @@ HTTPClientSender::put(const URI& uri,
: uri.str();
- Sord::Model model(*_engine.world()->rdf_world());
+ const Shared::World& world = _engine.world();
+ Sord::Model model(world.rdf_world());
for (Resource::Properties::const_iterator i = properties.begin();
i != properties.end(); ++i)
model.add_statement(
- Sord::URI(*_engine.world()->rdf_world(), request_uri),
- AtomRDF::atom_to_node(model, i->first.str()),
+ Sord::URI(world.rdf_world(), request_uri),
+ Sord::URI(world.rdf_world(), i->first),
AtomRDF::atom_to_node(model, i->second));
const string str = model.write_to_string("", SERD_TURTLE);