From: Tim Duesterhus Date: Thu, 25 Jan 2018 15:24:45 +0000 (+0100) Subject: CLEANUP: sample: Fix outdated comment about sample casts functions X-Git-Tag: v1.9-dev1~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec6b0a2d189b84d743baccbcc14a4a4b97390549;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/sample.c b/src/sample.c index 644327e0a3..7ac2ec37b6 100644 --- a/src/sample.c +++ b/src/sample.c @@ -496,8 +496,6 @@ struct sample_conv *find_sample_conv(const char *kw, int len) /******************************************************************/ /* 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)