diff options
author | David Robillard <d@drobilla.net> | 2008-12-13 05:47:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-13 05:47:50 +0000 |
commit | 90885da36afd20388a6eeeb58efcd844398bc531 (patch) | |
tree | a5cce42b5bae93d1c910a8a12af3d927bd8d114e /src/world.c | |
parent | baa2354cf47b093117206fd1fc1bae45e46b03c3 (diff) | |
download | lilv-90885da36afd20388a6eeeb58efcd844398bc531.tar.gz lilv-90885da36afd20388a6eeeb58efcd844398bc531.tar.bz2 lilv-90885da36afd20388a6eeeb58efcd844398bc531.zip |
Handle librdf failures (NULL values) and crazily typed values etc. more gracefully.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1860 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c index 6f90229..ec0744f 100644 --- a/src/world.c +++ b/src/world.c @@ -530,8 +530,8 @@ slv2_world_load_all(SLV2World world) assert(plugin_uri); assert(data_uri); - SLV2Value uri = slv2_value_new_librdf_uri(world, plugin_uri); - SLV2Plugin plugin = slv2_plugins_get_by_uri(world->plugins, uri); + SLV2Value uri = slv2_value_new_librdf_uri(world, plugin_uri); + SLV2Plugin plugin = slv2_plugins_get_by_uri(world->plugins, uri); // Create a new SLV2Plugin if (!plugin) { |