Hi,

The attached patch fixes common misspells in the code comments of the
cache subsystem.

Thanks,
Joseph
From f5c333cf17b2d6e94630ca356302998338584676 Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
Date: Thu, 15 Nov 2018 14:07:53 -0800
Subject: [PATCH] CLEANUP: Fix typos in the cache subsystem

Fix common misspells in the code comments of the cache subsystem.
---
 src/cache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cache.c b/src/cache.c
index 35568bc5..26064807 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -218,7 +218,7 @@ cache_store_http_forward_data(struct stream *s, struct filter *filter,
 		return len;
 
 	if (!len) {
-		/* Nothing to foward */
+		/* Nothing to forward */
 		ret = len;
 	}
 	else if (st->hdrs_len >= len) {
@@ -565,7 +565,7 @@ static void http_cache_applet_release(struct appctx *appctx)
 
 /*
  * Append an "Age" header into <chn> channel for this <ce> cache entry.
- * This is the responsability of the caller to insure there is enough
+ * This is the responsibility of the caller to insure there is enough
  * data in the channel.
  *
  * Returns the number of bytes inserted if succeeded, 0 if failed.
@@ -642,7 +642,7 @@ static void http_cache_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) {
 		si_cant_put(si);
 		goto out;
-- 
2.19.1

Reply via email to