summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-11 01:00:14 +0000
committerDavid Robillard <d@drobilla.net>2008-01-11 01:00:14 +0000
commit2ea341ef3313b189315367ad6beadc23eec227e3 (patch)
treeabc1b5fa9f5bb8738851743e1b90d99fe470b8ea /src
parent08867bea1dc73280c004c6d7cda14b3439a275ac (diff)
downloadlilv-2ea341ef3313b189315367ad6beadc23eec227e3.tar.gz
lilv-2ea341ef3313b189315367ad6beadc23eec227e3.tar.bz2
lilv-2ea341ef3313b189315367ad6beadc23eec227e3.zip
Fix port clashes when multiple plugins are listed in the same file.
git-svn-id: http://svn.drobilla.net/lad/slv2@1048 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index 7911f4d..ec38bfa 100644
--- a/src/port.c
+++ b/src/port.c
@@ -168,8 +168,9 @@ slv2_port_get_value(SLV2Plugin p,
char* query = slv2_strjoin(
"SELECT DISTINCT ?value WHERE {\n"
+ "<", librdf_uri_as_string(p->plugin_uri), "> lv2:port ?port ."
"?port lv2:symbol \"", port->symbol, "\";\n\t",
- property, " ?value .\n}", 0);
+ property, " ?value .\n}", NULL);
result = slv2_plugin_simple_query(p, query, 0);