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