I was made aware of a typo in private. Attached is the updated
patch. Apply with `git am --scissors` to automatically cut the commit message.

-- >8 --
Subject: [PATCH v2 1/8] BUG/MINOR: sample: Fix encoding of sample.c

The file contained an 'e' with an gravis accent and thus was
not US-ASCII, but ISO-8859-1.

Also correct the spelling in the incorrect comment.

The incorrect character was introduced in commit:
4d9a1d1a5c4720a169654ee47f9a4364261ffab4

v1.6-dev1 is the first tag containing this comment, the fix
should be backported to haproxy 1.6 and newer.
---
 src/sample.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sample.c b/src/sample.c
index ed2aee010..d3aa88935 100644
--- a/src/sample.c
+++ b/src/sample.c
@@ -389,12 +389,12 @@ struct sample_fetch *find_sample_fetch(const char *kw, 
int len)
        return NULL;
 }
 
-/* This fucntion browse the list of available saple fetch. <current> is
+/* This function browses the list of available sample fetches. <current> is
  * the last used sample fetch. If it is the first call, it must set to NULL.
- * <idx> is the index of the next sampleèfetch entry. It is used as private
- * value. It is useles to initiate it.
+ * <idx> is the index of the next sample fetch entry. It is used as private
+ * value. It is useless to initiate it.
  *
- * It returns always the newt fetch_sample entry, and NULL when the end of
+ * It returns always the new fetch_sample entry, and NULL when the end of
  * the list is reached.
  */
 struct sample_fetch *sample_fetch_getnext(struct sample_fetch *current, int 
*idx)
-- 
2.15.1


Reply via email to