From f23cadc47ac3ae7f67e9d8ed88a2414a9d6a91d5 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 21 Mar 2024 17:37:37 +0100 Subject: [PATCH] Initialization --- cv5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index 0a0231b..f30ef3b 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -46,7 +46,7 @@ int main() { char name[SIZE]; if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { if (successful_lines >= 1){ - continue; + break; } else{ printf("Nepodarilo nacitat nic\n");