Update cv7/program.c

This commit is contained in:
Viktor Daniv 2024-11-15 01:11:26 +00:00
parent 54a5bc8c07
commit 8256e13864

View File

@ -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
} }