diff options
author | David Robillard <d@drobilla.net> | 2012-12-23 00:06:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-23 00:06:21 +0000 |
commit | fa8d43dab70a975be9af7aebaac8eba682c2048e (patch) | |
tree | 4088b328260cb7fc75b0b1211879158752114103 /src/socket | |
parent | f7b865f9ff03b0796ba3c2732b69f70a24faa4d4 (diff) | |
download | ingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.tar.gz ingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.tar.bz2 ingen-fa8d43dab70a975be9af7aebaac8eba682c2048e.zip |
Use more sensible URI scheme for Ingen paths.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4889 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/socket')
-rw-r--r-- | src/socket/SocketReader.cpp | 4 | ||||
-rw-r--r-- | src/socket/SocketWriter.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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 <ingen:root/> as base URI so e.g. </foo/bar> will be a path + // Use <ingen:/root/> as base URI so e.g. </foo/bar> 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 <ingen:root/> as base URI so e.g. </foo/bar> will be a path - _base = serd_node_from_string(SERD_URI, (const uint8_t*)"ingen:root/"); + // Use <ingen:/root/> as base URI so e.g. </foo/bar> will be a path + _base = serd_node_from_string(SERD_URI, (const uint8_t*)"ingen:/root/"); serd_uri_parse(_base.buf, &_base_uri); |