From 732f9b98e5b47b1ddf312f41c03060f1279be5fb Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 14 May 2024 17:04:58 +0100 Subject: [PATCH] tidying --- src/src/daemon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/src/daemon.c b/src/src/daemon.c index 88114d648..9ed8a1c45 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -311,7 +311,7 @@ if (smtp_accept_max_per_host) /* For speed, interpret a decimal number inline here */ else { - uschar *s = expanded; + uschar * s = expanded; while (isdigit(*s)) max_for_this_host = max_for_this_host * 10 + *s++ - '0'; if (*s) @@ -320,9 +320,9 @@ if (smtp_accept_max_per_host) } } -/* If we have fewer connections than max_for_this_host, we can skip the tedious -per host_address checks. Note that at this stage smtp_accept_count contains the -count of *other* connections, not including this one. */ +/* If we have fewer total connections than max_for_this_host, we can skip the +tedious per host_address checks. Note that at this stage smtp_accept_count +contains the count of *other* connections, not including this one. */ if (max_for_this_host > 0 && smtp_accept_count >= max_for_this_host) { @@ -920,7 +920,7 @@ while ((pid = waitpid(-1, &status, WNOHANG)) > 0) smtp_slots[i] = empty_smtp_slot; if (--smtp_accept_count < 0) smtp_accept_count = 0; DEBUG(D_any) debug_printf("%d SMTP accept process%s now running\n", - smtp_accept_count, (smtp_accept_count == 1)? "" : "es"); + smtp_accept_count, smtp_accept_count == 1 ? "" : "es"); break; } if (i < smtp_accept_max) continue; /* Found an accepting process */ -- 2.30.2