Hi,

The attached patch fixes a typo detected in the chunk.h header file's
code comments.

Thanks,
Joseph
From c52753e692a2e7b2d714244e58adac66d046804d Mon Sep 17 00:00:00 2001
From: Joseph Herlant <[email protected]>
Date: Sun, 25 Nov 2018 10:49:51 -0800
Subject: [PATCH] CLEANUP: Fix typo in the chunk headers file

Fix a typo detected in the chunk.h header file's code comments.
---
 include/common/chunk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/common/chunk.h b/include/common/chunk.h
index ffcb93c8..13e99a07 100644
--- a/include/common/chunk.h
+++ b/include/common/chunk.h
@@ -197,7 +197,7 @@ static inline int chunk_strncat(struct buffer *chk, const char *str, int nb)
 
 /* Adds a trailing zero to the current chunk and returns the pointer to the
  * following part. The purpose is to be able to use a chunk as a series of
- * short independant strings with chunk_* functions, which do not need to be
+ * short independent strings with chunk_* functions, which do not need to be
  * released. Returns NULL if no space is available to ensure that the new
  * string will have its own trailing zero. For example :
  *   chunk_init(&trash);
-- 
2.19.1

Reply via email to