[exim-cvs] cvs commit: exim/exim-src/src dkim.c mime.c

Top Page
Delete this message
Reply to this message
Author: Tom Kistner
Date:  
To: exim-cvs
Subject: [exim-cvs] cvs commit: exim/exim-src/src dkim.c mime.c
tom 2009/11/09 14:31:24 GMT

  Modified files:
    exim-src/src         dkim.c mime.c 
  Log:
  Make SUN compiler happy. Fixes #902


  Revision  Changes    Path
  1.8       +1 -1      exim/exim-src/src/dkim.c
  1.18      +1 -1      exim/exim-src/src/mime.c


  Index: dkim.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/dkim.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- dkim.c    15 Oct 2009 15:44:51 -0000    1.7
  +++ dkim.c    9 Nov 2009 14:31:24 -0000    1.8
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/dkim.c,v 1.7 2009/10/15 15:44:51 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/dkim.c,v 1.8 2009/11/09 14:31:24 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -525,6 +525,6 @@
     store_pool = old_pool;
     errno = save_errno;
     return rc;
  -};
  +}


#endif

  Index: mime.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/mime.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mime.c    7 Nov 2009 17:17:15 -0000    1.17
  +++ mime.c    9 Nov 2009 14:31:24 -0000    1.18
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/mime.c,v 1.17 2009/11/07 17:17:15 nm4 Exp $ */
  +/* $Cambridge: exim/exim-src/src/mime.c,v 1.18 2009/11/09 14:31:24 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -106,7 +106,7 @@


     opos = obuf;


  -  while (fgets(ibuf, MIME_MAX_LINE_LENGTH, in) != NULL)
  +  while (fgets((char *)ibuf, MIME_MAX_LINE_LENGTH, in) != NULL)
     {
       if (boundary != NULL
         && Ustrncmp(ibuf, "--", 2) == 0