mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-24 12:04:38 +00:00
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 <dl6er@dl6er.de>
This commit is contained in:
1 parent
b518bc425d
commit
cf9c9c74e0
1 file changed
+2
-2
+2
-2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user