diff options
author | David Robillard <d@drobilla.net> | 2008-12-13 05:23:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-13 05:23:25 +0000 |
commit | baa2354cf47b093117206fd1fc1bae45e46b03c3 (patch) | |
tree | da51033f5060badca53d52aa1bce4c2076cb9fcf /src/query.c | |
parent | c854c1f24f41844f0c95e8943738a820d8a283e5 (diff) | |
download | lilv-baa2354cf47b093117206fd1fc1bae45e46b03c3.tar.gz lilv-baa2354cf47b093117206fd1fc1bae45e46b03c3.tar.bz2 lilv-baa2354cf47b093117206fd1fc1bae45e46b03c3.zip |
Factor out "load plugin if necessary" concept.
Test plugin features: 78.1% coverage.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1859 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/query.c b/src/query.c index 540d11a..f4a6a0d 100644 --- a/src/query.c +++ b/src/query.c @@ -126,8 +126,7 @@ librdf_query_results* slv2_plugin_query(SLV2Plugin plugin, const char* sparql_str) { - if (!plugin->rdf) - slv2_plugin_load(plugin); + slv2_plugin_load_if_necessary(plugin); librdf_uri* base_uri = slv2_value_as_librdf_uri(plugin->plugin_uri); |