From c555ee0c45098278ddad695cbbd16a815bcb50da Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Thu, 25 Jan 2018 16:24:44 +0100 Subject: [PATCH] CLEANUP: sample: Fix comment 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 442dc70bd..644327e0a 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. is +/* This function browses the list of available sample fetches. is * the last used sample fetch. If it is the first call, it must set to NULL. - * is the index of the next samplečfetch entry. It is used as private - * value. It is useles to initiate it. + * 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)