From d623d8b2bad6d14343f242ffe9bdee85977d8221 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 22:05:27 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 5415679..5a6bb76 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -80,7 +80,7 @@ struct car* clear_train(struct car* first, const char* target) { else{ struct car* this = first; - while(this->next != NULL){ + while(this!= NULL){ //while(this != NULL){ int x = strcmp(this->next->value, target); if(x == 0){