summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-10 04:00:33 +0000
committerDavid Robillard <d@drobilla.net>2012-08-10 04:00:33 +0000
commit7339c3c6f211f7903465c2345583de06d727caf6 (patch)
tree11ad4b0654c6d8f9e69b9021c492cfd1961977d1 /src/port.c
parent402fec7d2baa182464129ab510e2b1fe266bfe48 (diff)
downloadlilv-7339c3c6f211f7903465c2345583de06d727caf6.tar.gz
lilv-7339c3c6f211f7903465c2345583de06d727caf6.tar.bz2
lilv-7339c3c6f211f7903465c2345583de06d727caf6.zip
Always back LilvNode with a SordNode and shave 16 bytes off of LilvNode.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
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 2263280..43e5708 100644
--- a/src/port.c
+++ b/src/port.c
@@ -121,7 +121,8 @@ lilv_port_get_value(const LilvPlugin* p,
const LilvNode* predicate)
{
if (!lilv_node_is_uri(predicate)) {
- LILV_ERRORF("Predicate `%s' is not a URI\n", predicate->str_val);
+ LILV_ERRORF("Predicate `%s' is not a URI\n",
+ sord_node_get_string(predicate->node));
return NULL;
}