quickfix for first big bug that use_stdin was not correctly initialized and could not be set

This commit is contained in:
van Hauser
2020-03-09 19:40:59 +01:00
parent 253bbf3a5c
commit 73a1b39446
7 changed files with 17 additions and 8 deletions

View File

@ -899,11 +899,11 @@ int main(int argc, char** argv, char** envp) {
if (in_dir) {
if (at_file) PFATAL("Options -A and -i are mutually exclusive");
detect_file_args(argv + optind, "", fsrv->use_stdin);
detect_file_args(argv + optind, "", &fsrv->use_stdin);
} else {
detect_file_args(argv + optind, at_file, fsrv->use_stdin);
detect_file_args(argv + optind, at_file, &fsrv->use_stdin);
}