]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: sample: Fix outdated comment about sample casts functions
authorTim Duesterhus <tim@bastelstu.be>
Thu, 25 Jan 2018 15:24:45 +0000 (16:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 21:25:40 +0000 (22:25 +0100)
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.

src/sample.c

index 644327e0a3201c8fde579b14254ecd03e21296f4..7ac2ec37b6a8302f5b2ce70aea2277833f48bfc9 100644 (file)
@@ -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)