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