From faa298fa9ee65052655721747827143a1848dc16 Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Thu, 5 Nov 2020 20:15:52 +0100 Subject: [PATCH] 17% --- 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 960271d..cafa6dc 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -20,8 +20,8 @@ struct car* add_car(struct car* first,const char* target) { } while(this->next!=NULL){ this=this->next; - this->next = newcar; } + this->next = newcar; strcpy(newcar->value, target); return first; }