CLEANUP: sample: Fix outdated comment about sample casts functions

The cast functions modify their output type as of commit:
b805f71d1bb1487f01f78a6ffab26d44919e9944

v1.5-dev20 is the first tag containing this comment, the fix
should be backported to haproxy 1.5 and newer.
This commit is contained in:
Tim Duesterhus 2018-01-25 16:24:45 +01:00 committed by Willy Tarreau
parent c555ee0c45
commit ec6b0a2d18

View File

@ -496,8 +496,6 @@ struct sample_conv *find_sample_conv(const char *kw, int len)
/******************************************************************/ /******************************************************************/
/* Sample casts functions */ /* Sample casts functions */
/* Note: these functions do *NOT* set the output type on the */
/* sample, the caller is responsible for doing this on return. */
/******************************************************************/ /******************************************************************/
static int c_ip2int(struct sample *smp) static int c_ip2int(struct sample *smp)