Compare commits
2 commits
1b683f3395
...
6e9f0709b4
Author | SHA1 | Date | |
---|---|---|---|
6e9f0709b4 | |||
b056a8f99d |
2 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
Fix internal erronous buffer declaration.
|
||||
|
||||
Fix internal missing NULL check.
|
||||
|
||||
## Version 1.2
|
||||
|
||||
Add the `--generate-dir=<DIR>` option, which will generate all html into the
|
||||
|
|
|
@ -184,7 +184,9 @@ Args parse_args(int32_t argc, char **argv) {
|
|||
} else {
|
||||
printf("Directory \"%s\" exists.\n", args.generate_dir);
|
||||
}
|
||||
closedir(d);
|
||||
if (d) {
|
||||
closedir(d);
|
||||
}
|
||||
} else if (strcmp(argv[0], "--generate-enable-overwrite") == 0) {
|
||||
args.flags |= 4;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue