diff --git a/cv5/program.c b/cv5/program.c index b1bad8f..b517c01 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -46,8 +46,7 @@ int main() { if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { // error, input was not in expected format // print error message and exit - fprintf(stderr, "Nepodarilo␣nacitat␣nic\n"); - return 1; + break; } // check if this student already exists