train
This commit is contained in:
parent
e56d74a760
commit
ae83e17915
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user