This commit is contained in:
Maryna Kravtsova 2020-11-05 15:30:54 +01:00
parent 0069229806
commit 73475fc126

View File

@ -69,7 +69,7 @@ struct car* clear_train(struct car* first, const char* target) {
//first = NULL; //first = NULL;
first = first->next; first = first->next;
free(first); free(first);
return first; return first->next;
} }
x = strcmp(prev->next->value, target); x = strcmp(prev->next->value, target);