diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 17:20:37 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 17:20:37 +0300 |
commit | 764a205fe9676afcdb94998b5e553d650bda86ba (patch) | |
tree | d3d0650a60218e6a470a7a9d9e0bfbf9860a8833 /src/cklist.c | |
parent | 9c24e438b689af042672182f6d87f824ef435492 (diff) | |
download | ck-764a205fe9676afcdb94998b5e553d650bda86ba.tar.gz ck-764a205fe9676afcdb94998b5e553d650bda86ba.tar.bz2 ck-764a205fe9676afcdb94998b5e553d650bda86ba.zip |
Errlog with cklist, verbose flag, bugfix in search
Diffstat (limited to 'src/cklist.c')
-rw-r--r-- | src/cklist.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cklist.c b/src/cklist.c index e1ca7d8..14d5d82 100644 --- a/src/cklist.c +++ b/src/cklist.c @@ -175,6 +175,17 @@ void list_print(cklist *ckl) { } } +void list_print_concat(cklist *ckl) { + if (ckl->size > 0) { + list_rewind(ckl); + printf("%s", list_get(ckl)); + while (list_next(ckl)) { + printf("%s", list_get(ckl)); + } + list_rewind(ckl); + } +} + int list_size(cklist *ckl) { return ckl->size; } |