(escape_deadletter): Add missing check.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -292,9 +292,12 @@ escape_deadletter (int argc MU_ARG_UNUSED, char **argv MU_ARG_UNUSED, | ... | @@ -292,9 +292,12 @@ escape_deadletter (int argc MU_ARG_UNUSED, char **argv MU_ARG_UNUSED, |
292 | FILE *dead = fopen (getenv ("DEAD"), "r"); | 292 | FILE *dead = fopen (getenv ("DEAD"), "r"); |
293 | int c; | 293 | int c; |
294 | 294 | ||
295 | if (dead) | ||
296 | { | ||
295 | while ((c = fgetc (dead)) != EOF) | 297 | while ((c = fgetc (dead)) != EOF) |
296 | fputc (c, ofile); | 298 | fputc (c, ofile); |
297 | fclose (dead); | 299 | fclose (dead); |
300 | } | ||
298 | return 0; | 301 | return 0; |
299 | } | 302 | } |
300 | 303 | ... | ... |
-
Please register or sign in to post a comment