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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Michael Haardt
Fecha:  
A: exim-cvs
Asunto: [exim-cvs] cvs commit: exim/exim-src/src parse.c
michael 2008/06/06 15:40:21 BST

  Modified files:
    exim-src/src         parse.c 
  Log:
  Fixed bug in parse_date_time() introduced with last change.


  Revision  Changes    Path
  1.13      +3 -1      exim/exim-src/src/parse.c


  Index: parse.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/parse.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- parse.c    4 Jun 2008 13:29:34 -0000    1.12
  +++ parse.c    6 Jun 2008 14:40:21 -0000    1.13
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/parse.c,v 1.12 2008/06/04 13:29:34 michael Exp $ */
  +/* $Cambridge: exim/exim-src/src/parse.c,v 1.13 2008/06/06 14:40:21 michael Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -2010,9 +2010,11 @@
   char **old_environ;
   static char gmt0[]="TZ=GMT0";
   static char *gmt_env[]={ gmt0, (char*)0 };
  +uschar *try;


  -if (str=parse_day_of_week(str))
  +if ((try=parse_day_of_week(str)))
     {
  +  str=try;
     if (*str!=',') return 0;
     ++str;
     }