hmmmm
This commit is contained in:
parent
ba63b9c3b0
commit
ac45e2fca5
@ -74,7 +74,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
|||||||
this = this->next;
|
this = this->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(strcmp(this->next->value,target) == 0){
|
if(strcmp(this->next->value, target) == 0){
|
||||||
free(this->next);
|
free(this->next);
|
||||||
this->next=NULL;
|
this->next=NULL;
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user