From 7455eb5a3dc5aa289856ca5952ffc62d1624d022 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Sun, 22 Nov 2020 16:16:16 +0100 Subject: [PATCH] buffet --- cv8/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cv8/program.c b/cv8/program.c index dc185c1..4f477b5 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -47,6 +47,7 @@ void search(struct tree* this){ } */ if(buffer[0] == 'a'){ if(this->left->value[0] == '*'){ + printf("%s\n", this->left->value); printf("%s\n", this->left->value); return; } @@ -139,7 +140,7 @@ int main(){ printf("%s\n", tree->value); search(tree); - //destroy_tree(tree); + destroy_tree(tree); printf("Koniec\n"); return 0; }