From c548e35abaf65266f2d806e375cb8e38adf705c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Feb 2011 19:30:36 +0000 Subject: Terser iteration API. git-svn-id: http://svn.drobilla.net/sord/trunk@14 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/sordi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sordi.c') 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; -- cgit v1.2.1