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

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-cvs
Subject: [exim-cvs] cvs commit: exim/exim-src/src route.c
ph10 2006/07/17 10:21:00 BST

  Modified files:
    exim-src/src         route.c 
  Log:
  Add errno=0 before calling getpwnam() in previous patch.


  Revision  Changes    Path
  1.10      +1 -0      exim/exim-src/src/route.c


  Index: route.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/route.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- route.c    14 Jul 2006 14:00:16 -0000    1.9
  +++ route.c    17 Jul 2006 09:21:00 -0000    1.10
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/route.c,v 1.9 2006/07/14 14:00:16 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/route.c,v 1.10 2006/07/17 09:21:00 ph10 Exp $ */


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


     else for (;;)
       {
  +    errno = 0;
       if ((lastpw = getpwnam(CS s)) != NULL) break;
       if (++i > finduser_retries) break;
       sleep(1);