From d94925e6ed1483ddd6b40be60e12666219960fee Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Thu, 5 Nov 2020 19:58:47 +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 da1eac7..33ff985 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -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; }