summaryrefslogtreecommitdiff
path: root/src/libdatastruct/gensetdyn_iter_withcancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdatastruct/gensetdyn_iter_withcancel.c')
-rw-r--r--src/libdatastruct/gensetdyn_iter_withcancel.c2
1 files changed, 1 insertions, 1 deletions
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 ;