CLEANUP: Replace for loop with only a condition by while
authorTim Duesterhus <tim@bastelstu.be>
Thu, 4 Mar 2021 22:50:13 +0000 (23:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Mar 2021 07:28:53 +0000 (08:28 +0100)
commit1568355afdde5a861550292d6d85888d5cc1a7af
tree5d1499fbac71d23627033d17e66051790f0b13cb
parentdcf753aabec42c81a277ed101038ddcad9aec9c3
CLEANUP: Replace for loop with only a condition by while

Refactoring performed with the following Coccinelle patch:

    @@
    expression e;
    statement S;
    @@

    - for (;e;)
    + while (e)
      S
src/h2.c