]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: fd: Fix a typo in a coment.
authorOlivier Houchard <cognet@ci0.org>
Wed, 17 Jun 2020 18:28:27 +0000 (20:28 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 17 Jun 2020 18:36:28 +0000 (20:36 +0200)
The function si called fd_takeover, not fd_takeother.

src/fd.c

index 919e4335141e5594e4df58ea1ff0fce11e752904..b0a16841e0a3de7bf52db130fd45b467d2d36dd7 100644 (file)
--- a/src/fd.c
+++ b/src/fd.c
@@ -300,7 +300,7 @@ static void fd_dodelete(int fd, int do_close)
        int locked = fdtab[fd].running_mask != tid_bit;
 
        /* We're just trying to protect against a concurrent fd_insert()
-        * here, not against fd_takeother(), because either we're called
+        * here, not against fd_takeover(), because either we're called
         * directly from the iocb(), and we're already locked, or we're
         * called from the mux tasklet, but then the mux is responsible for
         * making sure the tasklet does nothing, and the connection is never