diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-23 11:26:38 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-23 11:26:38 -0400 |
commit | d66d6fe03cb4eef87b81895221632e9039989ba2 (patch) | |
tree | 94ab7113338d9b9e0905564569fdda1b76099868 | |
parent | f332b293430d5641575917686d7dc128c309acf5 (diff) | |
download | sddm-d66d6fe03cb4eef87b81895221632e9039989ba2.tar.gz sddm-d66d6fe03cb4eef87b81895221632e9039989ba2.tar.bz2 sddm-d66d6fe03cb4eef87b81895221632e9039989ba2.zip |
write to stdout if no output file is specified
-rw-r--r-- | src/zdab-cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zdab-cat.c b/src/zdab-cat.c index 294e014..a109b46 100644 --- a/src/zdab-cat.c +++ b/src/zdab-cat.c @@ -53,7 +53,7 @@ int main(int argc, char **argv) event ev = {0}; char *filename = NULL; char *output = NULL; - FILE *fout = NULL; + FILE *fout = stdout; size_t nhit; int last_run; char dqxx_file[256]; |