Fixes typos in the code comments of the cli subsystem.
---
 src/cli.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cli.c b/src/cli.c
index 3f438621..a22b5d5f 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -549,7 +549,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.
@@ -2093,7 +2093,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
-- 
2.19.2


Reply via email to