test
This commit is contained in:
parent
90d7159ce6
commit
334f114ad7
@ -38,11 +38,11 @@ int main() {
|
||||
char* end = NULL;
|
||||
int votes = strtol(line, &end, 10);
|
||||
if (votes == 0) {
|
||||
fprintf(stderr, "Chyba\n");
|
||||
fprintf(stderr, "Nepodarilo␣nacitat␣nic\n");
|
||||
break;
|
||||
}
|
||||
if (*end != ' ') {
|
||||
fprintf(stderr, "Chyba\n");
|
||||
fprintf(stderr, "Nepodarilo␣nacitat␣nic\n");
|
||||
break;
|
||||
}
|
||||
char name[SIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user