[exim-cvs] cvs commit: exim/exim-src/src/lookups spf.c

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nigel Metheringham
Date:  
À: exim-cvs
Sujet: [exim-cvs] cvs commit: exim/exim-src/src/lookups spf.c
nm4 2009/11/11 14:43:28 GMT

  Modified files:
    exim-src/src/lookups spf.c 
  Log:
  More signed/unsigned fixes.  Need confirmation that this completely deals with bug.  Related: #905


  Revision  Changes    Path
  1.3       +2 -2      exim/exim-src/src/lookups/spf.c


  Index: spf.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/lookups/spf.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- spf.c    27 Jun 2005 18:01:02 -0000    1.2
  +++ spf.c    11 Nov 2009 14:43:28 -0000    1.3
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/lookups/spf.c,v 1.2 2005/06/27 18:01:02 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/lookups/spf.c,v 1.3 2009/11/11 14:43:28 nm4 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -59,11 +59,11 @@
       return FAIL;
     }


  -  if (SPF_request_set_ipv4_str(spf_request, filename)) {
  +  if (SPF_request_set_ipv4_str(spf_request, CS filename)) {
       *errmsg = string_sprintf("invalid IP address '%s'", filename);
       return FAIL;
     }
  -  if (SPF_request_set_env_from(spf_request, keystring)) {
  +  if (SPF_request_set_env_from(spf_request, CS keystring)) {
       *errmsg = string_sprintf("invalid envelope from address '%s'", keystring);
       return FAIL;
     }