This commit is contained in:
Valér Jakubčo 2021-11-04 21:28:27 +01:00
parent ba63b9c3b0
commit ac45e2fca5

View File

@ -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;