commit | 6c243ebb9fa220f6aec693316068d158cc8377c1 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Nov 15 15:40:29 2018 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 16 16:05:51 2018 +0100 |
tree | 6471edbfbf11bf05d32cae67299fe5886802b3d8 | |
parent | ea827bdcbcf8c76782c8a978341f1edce8d28f52 [diff] |
MINOR: http: Regroup return statements of http_res_get_intercept_rule at the end Instead of having multiple return statements spreaded here and there in middle of the function, we just exit from the loop setting the right return code. It let a chance to do some work before leaving the function. It is also less error prone.