diff --git a/list.c b/list.c index a62ee7d..6076cb9 100644 --- a/list.c +++ b/list.c @@ -18,7 +18,7 @@ void list_clear(list_t* list) do { next = node->next; cu_free(node); - } while(node = next); + } while (node = next); } list->first = NULL; list->last = NULL;