From: Joseph Herlant Date: Sun, 25 Nov 2018 20:51:45 +0000 (-0800) Subject: CLEANUP: Fix typos in the cli subsystem X-Git-Tag: v1.9-dev9~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008b3cefa146bb096093de87038e1e7cba7ca140;p=thirdparty%2Fhaproxy.git CLEANUP: Fix typos in the cli subsystem Fixes typos in the code comments of the cli subsystem. --- diff --git a/src/cli.c b/src/cli.c index 43dc8b3a9b..b99270d085 100644 --- 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