From 73a6bc4b1dc4a6f88efa1416b042b2649a3b3921 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Mon, 17 Jul 2006 09:21:00 +0000 Subject: Add errno=0 before calling getpwnam() in previous patch. --- src/src/route.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/route.c b/src/src/route.c index 436f769a2..cc0d63cb0 100644 --- a/src/src/route.c +++ b/src/src/route.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/route.c,v 1.9 2006/07/14 14:00:16 ph10 Exp $ */ +/* $Cambridge: 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 @@ if (!cache_set) else for (;;) { + errno = 0; if ((lastpw = getpwnam(CS s)) != NULL) break; if (++i > finduser_retries) break; sleep(1); -- cgit v1.2.3