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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tom Kistner
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] cvs commit: exim/exim-src/src malware.c
tom 2005/01/11 08:55:29 GMT

  Modified files:
    exim-src/src         malware.c 
  Log:
  Reset separator char after string_nextinlist() calls


  Revision  Changes    Path
  1.5       +3 -0      exim/exim-src/src/malware.c


  Index: malware.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/malware.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- malware.c    5 Jan 2005 13:33:58 -0000    1.4
  +++ malware.c    11 Jan 2005 08:55:29 -0000    1.5
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/malware.c,v 1.4 2005/01/05 13:33:58 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/malware.c,v 1.5 2005/01/11 08:55:29 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -94,6 +94,9 @@
       /* empty means "don't match anything" */
       return FAIL;
     };
  +
  +  /* Reset sep that is set by previous string_nextinlist() call */
  +  sep = 0;


     /* compile the regex, see if it works */
     re = pcre_compile(CS malware_regex, PCRE_COPT, (const char **)&rerror, &roffset, NULL);