summaryrefslogtreecommitdiffstats
path: root/src/sordi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sordi.c')
-rw-r--r--src/sordi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 9220c54..6260879 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -138,7 +138,7 @@ main(int argc, char** argv)
// Query
SordTuple pat = { 0, 0, 0, 0 };
SordIter iter = sord_find(sord, pat);
- for (; !sord_iter_is_end(iter); sord_iter_increment(iter)) {
+ for (; !sord_iter_end(iter); sord_iter_next(iter)) {
SordTuple tup;
sord_iter_get(iter, tup);
SordNode s, p, o;