]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: use an int instead of calling tcpcheck_get_step_id
authorBaptiste Assmann <bedis9@gmail.com>
Sat, 2 May 2015 07:00:23 +0000 (09:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 May 2015 08:44:13 +0000 (10:44 +0200)
commitcfbd1b86057462bba33d363dd5aa08abd172dc9e
tree4fb4acf17235bd39b188e8dc706274d646e34e45
parent96a5c9b57738c05ecce7822093b9c4118123dc1e
MINOR: use an int instead of calling tcpcheck_get_step_id

in src.checks.c, the function tcpcheck_get_step_id is called many times.
In order to save some cpu cycles, I save the result of this function in
an integer.
src/checks.c