clear
This commit is contained in:
parent
0069229806
commit
73475fc126
@ -69,7 +69,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
//first = NULL;
|
||||
first = first->next;
|
||||
free(first);
|
||||
return first;
|
||||
return first->next;
|
||||
|
||||
}
|
||||
x = strcmp(prev->next->value, target);
|
||||
|
Loading…
Reference in New Issue
Block a user