diff options
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); |