summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/route.c3
1 files changed, 2 insertions, 1 deletions
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);