summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-01-04 11:01:33 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-01-04 11:01:33 +0000
commit86b8287f4bac50522d7c4ff99429979584944bab (patch)
tree31f86908b83a20cd2987da590a0d036bd83b4e06 /src
parentd95f9fdbbc934eb921bdf989bda1139415ef7d91 (diff)
A call to exiwhat no longer cuts short ACL delays set by the "delay"
modifier.
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index 014721f12..14fd2a072 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/acl.c,v 1.11 2005/01/04 10:00:42 ph10 Exp $ */
+/* $Cambridge: exim/src/src/acl.c,v 1.12 2005/01/04 11:01:33 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -1728,7 +1728,10 @@ for (; cb != NULL; cb = cb->next)
HDEBUG(D_acl)
debug_printf("delay skipped in -bh checking mode\n");
}
- else sleep(delay);
+ else
+ {
+ while (delay > 0) delay = sleep(delay);
+ }
}
}
break;