From 736cd37d5b4afafb0236c97fef8988eef8add7d7 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Sun, 22 Nov 2020 16:18:48 +0100 Subject: [PATCH] buffet --- cv8/program.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cv8/program.c b/cv8/program.c index 7cec6d9..4a60e13 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -46,9 +46,8 @@ void search(struct tree* this){ return; } */ if(buffer[0] == 'a'){ - if(this->left->value[0] == '*'){ - printf("%s\n", this->left->value); - printf("Hallo\n"); + if(this->value[0] == '*'){ + printf("%s\n", this->value); return; } printf("%s\n", this->left->value);