From ba63b9c3b0611287ad3067689e6016078e7647af Mon Sep 17 00:00:00 2001 From: vj586da Date: Thu, 4 Nov 2021 21:06:44 +0100 Subject: [PATCH] zatvorka --- cv4/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv4/a_train.c b/cv4/a_train.c index 1f4cbed..a3eca35 100755 --- a/cv4/a_train.c +++ b/cv4/a_train.c @@ -74,7 +74,7 @@ struct car* clear_train(struct car* first, const char* target) { this = this->next; } } - if(strcmp(this->next->value,target) == 0{ + if(strcmp(this->next->value,target) == 0){ free(this->next); this->next=NULL; return this;