diff --git a/cv4/a_train.c b/cv4/a_train.c index 1f4cbed..a3eca35 100755 --- a/cv4/a_train.c +++ b/cv4/a_train.c @@ -74,7 +74,7 @@ struct car* clear_train(struct car* first, const char* target) { this = this->next; } } - if(strcmp(this->next->value,target) == 0{ + if(strcmp(this->next->value,target) == 0){ free(this->next); this->next=NULL; return this;