This commit is contained in:
Maryna Kravtsova 2020-11-01 19:26:38 +01:00
parent e56d74a760
commit ae83e17915

View File

@ -35,7 +35,7 @@ void cancel_train(struct car* first) {
if(first == NULL){
exit(0);
}
if(first->value == NULL){
if(first->next == NULL){
struct car* this;
this = first;
first = this->next;