diff options
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.c b/src/query.c index cc1349a..75e85e9 100644 --- a/src/query.c +++ b/src/query.c @@ -45,7 +45,7 @@ slv2_query_get_variable_bindings(SLV2World world, { SLV2Values result = NULL; - if (librdf_query_results_get_bindings_count(results) > 0) + if (!librdf_query_results_finished(results)) result = slv2_values_new(); while (!librdf_query_results_finished(results)) { |