[exim-cvs] cvs commit: exim/exim-src/src/auths dovecot.c

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: exim-cvs
題目: [exim-cvs] cvs commit: exim/exim-src/src/auths dovecot.c
ph10 2007/01/25 16:23:42 GMT

  Modified files:
    exim-src/src/auths   dovecot.c 
  Log:
  Turn MH's patch into my standard style. (Explicit != NULL in test).


  Revision  Changes    Path
  1.6       +2 -2      exim/exim-src/src/auths/dovecot.c


  Index: dovecot.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/auths/dovecot.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- dovecot.c    24 Jan 2007 17:14:27 -0000    1.5
  +++ dovecot.c    25 Jan 2007 16:23:42 -0000    1.6
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.5 2007/01/24 17:14:27 magnus Exp $ */
  +/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.6 2007/01/25 16:23:42 ph10 Exp $ */


   /*
    * Copyright (c) 2004 Andrey Panin <pazke@???>
  @@ -205,8 +205,8 @@
                  auth_extra_data = string_sprintf("secured\t%s%s",
                      tls_certificate_verified? "valid-client-cert" : "",
                      tls_certificate_verified? "\t" : "");
  -       else if (interface_address
  -                && Ustrcmp(sender_host_address, interface_address) == 0)
  +       else if (interface_address != NULL &&
  +                Ustrcmp(sender_host_address, interface_address) == 0)
                  auth_extra_data = US"secured\t";