From 764a205fe9676afcdb94998b5e553d650bda86ba Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 4 Oct 2018 17:20:37 +0300 Subject: Errlog with cklist, verbose flag, bugfix in search --- src/cklist.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/cklist.c') 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; } -- cgit v1.2.3