This commit is contained in:
Radovan Kofira 2020-11-05 19:58:47 +01:00
parent d163406e2e
commit d94925e6ed

View File

@ -19,7 +19,7 @@ struct car* add_car(struct car* first,const char* target) {
if(this==NULL){
return newcar;
}
else(this->!=NULL){
else(this->next!=NULL){
this=this->next;
this->next = newcar;
}