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){