From b7c6bde2b64dcea4e6d272b11dd111b704309f93 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 10 Jan 2015 22:10:51 +0000 Subject: Change gensetdyn_iter to be a boolean. The old behaviour is still accessible via gensetdyn_iter_nocancel. --- src/libdatastruct/gensetdyn_iter_withcancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libdatastruct') diff --git a/src/libdatastruct/gensetdyn_iter_withcancel.c b/src/libdatastruct/gensetdyn_iter_withcancel.c index ffac1e0..c524b1c 100644 --- a/src/libdatastruct/gensetdyn_iter_withcancel.c +++ b/src/libdatastruct/gensetdyn_iter_withcancel.c @@ -6,7 +6,7 @@ int gensetdyn_iter_withcancel (gensetdyn *g, iterfunc_t_ref f, iterfunc_t_ref cancelf, void *stuff) { - unsigned int n = gensetdyn_iter(g, f, stuff) ; + unsigned int n = gensetdyn_iter_nocancel(g, g->storage.len, f, stuff) ; if (n < g->storage.len) { int e = errno ; -- cgit v1.2.3