diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-07 22:35:18 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-07 22:35:18 -0300 |
commit | b24efa3885637d953892ccf718662aa693eaa879 (patch) | |
tree | 76e5f074021f59194535a79ea348f711c8db68cd /src/main.c | |
parent | 28b02d920aa9347f25bc28f5989919174d9f60a9 (diff) | |
download | blogc-b24efa3885637d953892ccf718662aa693eaa879.tar.gz blogc-b24efa3885637d953892ccf718662aa693eaa879.tar.bz2 blogc-b24efa3885637d953892ccf718662aa693eaa879.zip |
content-parser: more random stuff
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); |