diff options
author | Adam <Adam@anope.org> | 2013-07-07 05:33:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-07 05:33:16 -0400 |
commit | 1dbd7b406fdd0c50ad077a24065dada3a3a54085 (patch) | |
tree | b04dd9fc753bcb76ff845fbc748686faca700233 /src | |
parent | 27dde3266c8809edd522d6a95ce0c1262e5cae0e (diff) |
Fix fd leak in mail.c with ForkForMail enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail.c b/src/mail.c index 8b89a1b81..679f88569 100644 --- a/src/mail.c +++ b/src/mail.c @@ -239,7 +239,7 @@ void MailEnd(MailInfo * mail) fclose(mail->readpipe); _exit(EXIT_SUCCESS); } - else if (pid < 0) + else #endif { if (mail->pipe != mail->writepipe) |