From 6bb74539060129938091f8df9878620de54c270f Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Thu, 5 Nov 2020 20:06:06 +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 2cfff4a..4cb298d 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -23,7 +23,7 @@ struct car* add_car(struct car* first,const char* target) { this->next = newcar; } strcpy(newcar->value, target); - return NULL; + return first; } void print_train(struct car* first) {