From fa8d43dab70a975be9af7aebaac8eba682c2048e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Dec 2012 00:06:21 +0000 Subject: Use more sensible URI scheme for Ingen paths. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4889 a436a847-0d15-0410-975c-d299462d15a1 --- src/socket/SocketReader.cpp | 4 ++-- src/socket/SocketWriter.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/socket') diff --git a/src/socket/SocketReader.cpp b/src/socket/SocketReader.cpp index 12fb112f..cc5da947 100644 --- a/src/socket/SocketReader.cpp +++ b/src/socket/SocketReader.cpp @@ -101,9 +101,9 @@ SocketReader::_run() return; } - // Use as base URI so e.g. will be a path + // Use as base URI so e.g. will be a path SordNode* base_uri = sord_new_uri( - world->c_obj(), (const uint8_t*)"ingen:root/"); + world->c_obj(), (const uint8_t*)"ingen:/root/"); // Set up sratom and a forge to build LV2 atoms from model Sratom* sratom = sratom_new(map); diff --git a/src/socket/SocketWriter.cpp b/src/socket/SocketWriter.cpp index 19a1c713..d2652dec 100644 --- a/src/socket/SocketWriter.cpp +++ b/src/socket/SocketWriter.cpp @@ -50,8 +50,8 @@ SocketWriter::SocketWriter(URIMap& map, , _uri(uri) , _socket(sock) { - // Use as base URI so e.g. will be a path - _base = serd_node_from_string(SERD_URI, (const uint8_t*)"ingen:root/"); + // Use as base URI so e.g. will be a path + _base = serd_node_from_string(SERD_URI, (const uint8_t*)"ingen:/root/"); serd_uri_parse(_base.buf, &_base_uri); -- cgit v1.2.1