Update cv7/program.c
This commit is contained in:
parent
54a5bc8c07
commit
8256e13864
@ -82,7 +82,7 @@ struct tree* read_tree() {
|
|||||||
// Read a line from stdin
|
// Read a line from stdin
|
||||||
char* r = fgets(buffer, SIZE, stdin);
|
char* r = fgets(buffer, SIZE, stdin);
|
||||||
if (r == NULL) {
|
if (r == NULL) {
|
||||||
fprintf(stderr, "Chybna databaza\n");
|
// fprintf(stderr, "Chybna databaza\n");
|
||||||
exit(1); // Exit the program if reading fails
|
exit(1); // Exit the program if reading fails
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user