aboutsummaryrefslogtreecommitdiff
path: root/test/test_list.c
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-03-13 16:02:08 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-03-13 16:02:08 +0100
commit047c76825c9eea6b3475123e5627ee470c515934 (patch)
tree3a624ac163476ceb31748ea7024fca65c841af5d /test/test_list.c
parent92672025903b9ffdc9b9199f87ff669ae2ca8f86 (diff)
downloadutils-047c76825c9eea6b3475123e5627ee470c515934.tar.gz
utils-047c76825c9eea6b3475123e5627ee470c515934.zip
Change the logic to add_all collection
We call clist_add inside the loop instead to play with pointers 'cause the data will be copied instead of referenced. So if the programmer clear the second list, the data will be stay there.
Diffstat (limited to 'test/test_list.c')
0 files changed, 0 insertions, 0 deletions