[exim-cvs] cvs commit: exim/exim-src/src spam.c srs.h exim/…

Pàgina inicial
Delete this message
Reply to this message
Autor: Tom Kistner
Data:  
A: exim-cvs
Assumpte: [exim-cvs] cvs commit: exim/exim-src/src spam.c srs.h exim/exim-src/src/routers redirect.c
tom 2005/06/27 16:11:04 BST

  Modified files:
    exim-src/src         spam.c srs.h 
    exim-src/src/routers redirect.c 
  Log:
  Fix cosmetic compiler warnings


  Revision  Changes    Path
  1.13      +1 -1      exim/exim-src/src/routers/redirect.c
  1.10      +3 -0      exim/exim-src/src/spam.c
  1.3       +1 -1      exim/exim-src/src/srs.h


  Index: spam.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/spam.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- spam.c    27 Jun 2005 14:29:44 -0000    1.9
  +++ spam.c    27 Jun 2005 15:11:04 -0000    1.10
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/spam.c,v 1.9 2005/06/27 14:29:44 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/spam.c,v 1.10 2005/06/27 15:11:04 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -43,6 +43,9 @@
   #ifndef NO_POLL_H
     struct pollfd pollfd;
   #endif
  +
  +  /* stop compiler warning */
  +  result = result;


     /* find the username from the option list */
     if ((user_name = string_nextinlist(&list, &sep,


  Index: srs.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/srs.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- srs.h    16 Dec 2004 15:11:47 -0000    1.2
  +++ srs.h    27 Jun 2005 15:11:04 -0000    1.3
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/srs.h,v 1.2 2004/12/16 15:11:47 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/srs.h,v 1.3 2005/06/27 15:11:04 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -21,7 +21,7 @@
   int eximsrs_done();
   int eximsrs_forward(uschar **result, uschar *orig_sender, uschar *domain);
   int eximsrs_reverse(uschar **result, uschar *address);
  -int eximsrs_db(BOOL reverse, uschar *srs_db);
  +int eximsrs_db_set(BOOL reverse, uschar *srs_db);


srs_result eximsrs_db_insert(srs_t *srs, char *data, uint data_len, char *result, uint result_len);
srs_result eximsrs_db_lookup(srs_t *srs, char *data, uint data_len, char *result, uint result_len);

  Index: redirect.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/routers/redirect.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- redirect.c    24 May 2005 08:50:36 -0000    1.12
  +++ redirect.c    27 Jun 2005 15:11:04 -0000    1.13
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/routers/redirect.c,v 1.12 2005/05/24 08:50:36 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/routers/redirect.c,v 1.13 2005/06/27 15:11:04 tom Exp $ */


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


       if(usesrs)
       {
  -      int srs_action, n_srs;
  +      int srs_action = 0, n_srs;
         uschar *res;
         uschar *usedomain;