diff options
-rw-r--r-- | src/instance.c | 2 | ||||
-rw-r--r-- | src/world.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/instance.c b/src/instance.c index 95743f6..c3dcb00 100644 --- a/src/instance.c +++ b/src/instance.c @@ -77,7 +77,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, const LilvNode* bundle_uri = lilv_plugin_get_bundle_uri(plugin); const char* bundle_uri_str = lilv_node_as_uri(bundle_uri); SerdURI base_uri; - if (!serd_uri_parse((const uint8_t*)bundle_uri_str, &base_uri)) { + if (serd_uri_parse((const uint8_t*)bundle_uri_str, &base_uri)) { dlclose(lib); break; } diff --git a/src/world.c b/src/world.c index 522236a..fbe86ff 100644 --- a/src/world.c +++ b/src/world.c @@ -238,7 +238,7 @@ lilv_new_uri_relative_to_base(const uint8_t* uri_str, const uint8_t* base_uri_str) { SerdURI base_uri; - if (!serd_uri_parse(base_uri_str, &base_uri)) { + if (serd_uri_parse(base_uri_str, &base_uri)) { return SERD_NODE_NULL; } |