zatvorka
This commit is contained in:
parent
af3d09e2ef
commit
ba63b9c3b0
@ -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