summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index 8a298d7..71b55a9 100644
--- a/src/port.c
+++ b/src/port.c
@@ -118,12 +118,13 @@ slv2_port_get_value(SLV2Plugin p,
result = slv2_plugin_simple_query(p, query, "value");
free(query);
+
} else {
char* query = slv2_strjoin(
"SELECT DISTINCT ?value WHERE { \n"
"plugin: lv2:port ?port . \n"
- "?port lv2:symbol ", id.symbol, " ;\n\t",
+ "?port lv2:symbol \"", id.symbol, "\" ;\n\t",
property, " ?value . \n}\n", NULL);
result = slv2_plugin_simple_query(p, query, "value");