~ubuntu-branches/ubuntu/hardy/exim4/hardy-proposed

« back to all changes in this revision

Viewing changes to src/moan.c

  • Committer: Bazaar Package Importer
  • Author(s): Marc Haber
  • Date: 2005-07-02 06:08:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050702060834-qk17pd52kb9nt3bj
Tags: 4.52-1
* new upstream version 4.51. (mh)
  * adapt 70_remove_exim-users_references
  * remove 37_gnutlsparams
  * adapt 36_pcre
  * adapt 31_eximmanpage
* fix package priorities to have them in sync with override again. (mh)
* Fix error in nb (Norwegian) translation.
  Thanks to Helge Hafting. (mh). Closes: #315775
* Standards-Version: 3.6.2, no changes needed. (mh)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Cambridge: exim/exim-src/src/moan.c,v 1.3 2005/06/27 14:29:43 ph10 Exp $ */
 
2
 
1
3
/*************************************************
2
4
*     Exim - an Internet mail transport agent    *
3
5
*************************************************/
4
6
 
5
 
/* Copyright (c) University of Cambridge 1995 - 2004 */
 
7
/* Copyright (c) University of Cambridge 1995 - 2005 */
6
8
/* See the file NOTICE for conditions of use and distribution. */
7
9
 
8
10
/* Functions for sending messages to sender or to mailmaster. */
246
248
/* Close the file, which should send an EOF to the child process
247
249
that is receiving the message. Wait for it to finish, without a timeout. */
248
250
 
249
 
fclose(f);
 
251
(void)fclose(f);
250
252
status = child_close(pid, 0);  /* Waits for child to close */
251
253
if (status != 0)
252
254
  {
435
437
    }
436
438
  }
437
439
 
438
 
fclose(f);
 
440
(void)fclose(f);
439
441
child_close(pid, 0);  /* Waits for child to close; no timeout */
440
442
}
441
443
 
690
692
else
691
693
  fprintf(f, "No valid addresses were generated.\n");
692
694
 
693
 
fclose(f);
 
695
(void)fclose(f);
694
696
child_close(pid, 0);  /* Waits for child to close; no timeout */
695
697
 
696
698
return TRUE;