srdja / Collections-C

A library of generic data structures for the C language.
http://srdja.github.io/Collections-C
GNU Lesser General Public License v3.0
2.82k stars 328 forks source link

File: cc_list.c Function: cc_list_iter_add #165

Closed FXD-jl closed 1 year ago

FXD-jl commented 1 year ago

{…… iter->index+; }

I think the function maybe delete “iter->index++”, because new_node is add after iter->last,and iter has not use cc_list_iter_next() yet.