commit | f95bc8e3e0800dcf22194a43edce837d0baae772 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Sat Apr 25 16:03:06 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 29 13:39:22 2015 +0200 |
tree | d7cf35cad1625d43fe7f5be3bce6839f4e9d4213 | |
parent | 0ebc55f6b42181c2206487ca4db3adc1d5846990 [diff] |
BUG/MEDIUM: check: tcpcheck regression introduced by e16c1b3f The commit e16c1b3f changed the way the function tcpcheck_get_step_id is now called (check instead of server). This change introduced a regression since now this function would return 0 all the time because of: if (check->current_step) return 0; This patch fixes this issue by inversing the test: you want to return 0 only if current_step is not yet set :) No backport is needed.