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");