success message and not found message added
This commit is contained in:
parent
5200a2a46a
commit
2e24ab9d50
@ -116,6 +116,8 @@ int main(int argc, char **argv) {
|
||||
|
||||
makexml();
|
||||
|
||||
printf("El achivo %s ha sido generado.\n", config->file);
|
||||
|
||||
free(config->file);
|
||||
free(config->bible);
|
||||
free(config->book);
|
||||
|
@ -241,5 +241,10 @@ int readfile() {
|
||||
}
|
||||
free(array);
|
||||
|
||||
if (matches[0] == false || matches[1] == false || matches[2] == false) {
|
||||
printf("No pudo encontrar lo solicitado en Biblia.txt!\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user