]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typos in the cli subsystem
authorJoseph Herlant <aerostitch@debian.org>
Sun, 25 Nov 2018 20:51:45 +0000 (12:51 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 17:41:44 +0000 (18:41 +0100)
Fixes typos in the code comments of the cli subsystem.

src/cli.c

index 43dc8b3a9be5b9c9f7cfc7080a13093df5aa25af..b99270d085eccf381258a1bcf05fc8dcfbb4881e 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -548,7 +548,7 @@ static void cli_io_handler(struct appctx *appctx)
        if (unlikely(si->state == SI_ST_DIS || si->state == SI_ST_CLO))
                goto out;
 
-       /* Check if the input buffer is avalaible. */
+       /* Check if the input buffer is available. */
        if (res->buf.size == 0) {
                /* buf.size==0 means we failed to get a buffer and were
                 * already subscribed to a wait list to get a buffer.
@@ -2092,7 +2092,7 @@ int pcli_wait_for_response(struct stream *s, struct channel *rep, int an_bit)
 
                /* We must trim any excess data from the response buffer, because we
                 * may have blocked an invalid response from a server that we don't
-                * want to accidentely forward once we disable the analysers, nor do
+                * want to accidently forward once we disable the analysers, nor do
                 * we want those data to come along with next response. A typical
                 * example of such data would be from a buggy server responding to
                 * a HEAD with some data, or sending more than the advertised