From d163406e2e84ab8aa5177aa443791a3c0f830c3e Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Thu, 5 Nov 2020 19:57:27 +0100 Subject: [PATCH] 15% --- cv5/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 5042afb..da1eac7 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -17,7 +17,7 @@ struct car* add_car(struct car* first,const char* target) { struct car* this=first; int length=0; if(this==NULL){ - return NULL; + return newcar; } else(this->!=NULL){ this=this->next;