summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);