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