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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tom Kistner
日付:  
To: exim-cvs
題目: [exim-cvs] cvs commit: exim/exim-src/src spf.c
tom 2007/05/17 20:55:10 BST

  Modified files:
    exim-src/src         spf.c 
  Log:
  Bugzilla #502


  Revision  Changes    Path
  1.7       +6 -0      exim/exim-src/src/spf.c


  Index: spf.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/spf.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- spf.c    27 Jun 2005 15:28:45 -0000    1.6
  +++ spf.c    17 May 2007 19:55:10 -0000    1.7
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/spf.c,v 1.6 2005/06/27 15:28:45 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/spf.c,v 1.7 2007/05/17 19:55:10 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -40,6 +40,12 @@


     if ( spf_server == NULL ) {
       debug_printf("spf: SPF_server_new() failed.\n");
  +    return 0;
  +  }
  +
  +  if (SPF_server_set_rec_dom(spf_server, primary_hostname)) {
  +    debug_printf("spf: SPF_server_set_rec_dom() failed.\n");
  +    spf_server = NULL;
       return 0;
     }