diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -230,7 +230,8 @@ main(int argc, char **argv) } } - fprintf(fp, "%s", out); + if (out != NULL) + fprintf(fp, "%s", out); if (!write_to_stdout) fclose(fp); |