]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typo in the chunk headers file
authorJoseph Herlant <aerostitch@debian.org>
Sun, 25 Nov 2018 18:49:51 +0000 (10:49 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 17:37:56 +0000 (18:37 +0100)
Fix a typo detected in the chunk.h header file's code comments.

include/common/chunk.h

index ebd194a2d3cf6a7b8bc5f5e67e4d43c34b4e867d..734e444c50cd25f41d5c1a38a7b60d0c518adcce 100644 (file)
@@ -196,7 +196,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);