This commit is contained in:
Radovan Kofira 2020-11-05 19:57:27 +01:00
parent 3f9d54d44a
commit d163406e2e

View File

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