zase zatvorka
This commit is contained in:
parent
71d268bb3b
commit
93c8452d85
@ -56,7 +56,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
|||||||
//strcpy(this->value,this->next->value);
|
//strcpy(this->value,this->next->value);
|
||||||
//this->next=NULL;
|
//this->next=NULL;
|
||||||
free(this);
|
free(this);
|
||||||
this=this->next
|
this=this->next;
|
||||||
//free(this->next);
|
//free(this->next);
|
||||||
return this;
|
return this;
|
||||||
}else if(strcmp(this->next->value, target) == 0){
|
}else if(strcmp(this->next->value, target) == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user