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

Top Pagina
Delete this message
Reply to this message
Auteur: Tom Kistner
Datum:  
Aan: exim-cvs
Onderwerp: [exim-cvs] cvs commit: exim/exim-src/src/lookups lsearch.c
tom 2009/10/15 08:23:56 BST

  Modified files:
    exim-src/src/lookups lsearch.c 
  Log:
  Don\'t use ||= operator


  Revision  Changes    Path
  1.10      +1 -1      exim/exim-src/src/lookups/lsearch.c


  Index: lsearch.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/lookups/lsearch.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- lsearch.c    14 Oct 2009 13:43:40 -0000    1.9
  +++ lsearch.c    15 Oct 2009 07:23:56 -0000    1.10
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/lookups/lsearch.c,v 1.9 2009/10/14 13:43:40 nm4 Exp $ */
  +/* $Cambridge: exim/exim-src/src/lookups/lsearch.c,v 1.10 2009/10/15 07:23:56 tom Exp $ */


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


       if (last_was_eol)
         {
  -      this_is_comment ||= (buffer[0] == 0 || buffer[0] == '#');
  +      this_is_comment = (this_is_comment || (buffer[0] == 0 || buffer[0] == '#'));
         if (this_is_comment) continue;
         if (!isspace((uschar)buffer[0])) break;
         while (isspace((uschar)*s)) s++;