This commit is contained in:
Radovan Kofira 2020-11-05 20:06:06 +01:00
parent 2ea871a21c
commit 6bb7453906

View File

@ -23,7 +23,7 @@ struct car* add_car(struct car* first,const char* target) {
this->next = newcar; this->next = newcar;
} }
strcpy(newcar->value, target); strcpy(newcar->value, target);
return NULL; return first;
} }
void print_train(struct car* first) { void print_train(struct car* first) {