From 31f009967ea0a1664c05d38ea1c126e0c678b20a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2012 10:48:20 +0000 Subject: Disable OSC and HTTP for now. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4057 a436a847-0d15-0410-975c-d299462d15a1 --- src/http/HTTPClientSender.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.1