From 052f0216b150fef31fa72a6cf7575da28e3582d9 Mon Sep 17 00:00:00 2001 From: vj586da Date: Fri, 26 Nov 2021 03:52:05 +0100 Subject: [PATCH] vs code je somarina --- cv8/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv8/program.c b/cv8/program.c index d3b7bd9..758caa4 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -65,11 +65,11 @@ void ask(struct node* tree){ } while(r[0] == '\n'){ r = fgets(buff, SIZE, stdin); - } if(r == NULL){ puts("Koniec vstupu"); return; } + } if(r[0] == 'a' && tree->left != NULL){ tree = tree->left; ask(tree);