From cf9c9c74e047b9203222d46e9df81d72f103cc7f Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 9 Aug 2026 10:34:02 +0200 Subject: [PATCH] Fix typo in the TCP fork comments. "is sent by the child has finshed the close" was meant to read "is sent when the child has finished the close". Signed-off-by: DL6ER --- src/dnsmasq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 31f8ab2..5d5a040 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c @@ -2147,7 +2147,7 @@ static void do_tcp_connection(struct listener *listener, time_t now, int slot) To avoid the race, the parent blocks here until a single byte comes back up the pipe, which - is sent by the child has finshed the close. */ + is sent when the child has finished the close. */ read_write(pipefd[0], &a, 1, RW_READ); daemon->tcp_pids[slot] = p; @@ -2287,7 +2287,7 @@ int swap_to_tcp(struct frec *forward, time_t now, int status, struct dns_header To avoid the race, the parent blocks here until a single byte comes back up the pipe, which - is sent by the child has finshed the close. */ + is sent when the child has finished the close. */ read_write(pipefd[0], &a, 1, RW_READ); /* i holds index of free slot */