X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/059ec3d9952740285fb1ebf47961b8aca2eb1b4a..b2f5a03200c914f601bc9d28c6e069316a3b20eb:/src/src/moan.c diff --git a/src/src/moan.c b/src/src/moan.c index 89a9b847d..acf701aec 100644 --- a/src/src/moan.c +++ b/src/src/moan.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/moan.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */ +/* $Cambridge: exim/src/src/moan.c,v 1.3 2005/06/27 14:29:43 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2005 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions for sending messages to sender or to mailmaster. */ @@ -248,7 +248,7 @@ if (message_file != NULL) /* Close the file, which should send an EOF to the child process that is receiving the message. Wait for it to finish, without a timeout. */ -fclose(f); +(void)fclose(f); status = child_close(pid, 0); /* Waits for child to close */ if (status != 0) { @@ -437,7 +437,7 @@ if (addr != NULL) } } -fclose(f); +(void)fclose(f); child_close(pid, 0); /* Waits for child to close; no timeout */ } @@ -692,7 +692,7 @@ if (some) else fprintf(f, "No valid addresses were generated.\n"); -fclose(f); +(void)fclose(f); child_close(pid, 0); /* Waits for child to close; no timeout */ return TRUE;