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.
This commit is contained in:
Tim Duesterhus 2018-01-25 16:24:44 +01:00 committed by Willy Tarreau
parent 727c89b3df
commit c555ee0c45

View File

@ -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)