commit | 9b80a6ca8f7e551c812f6b50f2dd67b6b0505f0f | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Mon Nov 08 09:05:00 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 08 12:08:26 2021 +0100 |
tree | 44e0af1f1f751e9ebd77f0099686de6617903de7 | |
parent | e9f4d67b15cbd98c6d67cc7cad285ea4e7761711 [diff] |
DEV: coccinelle: Add rule to use `isttrim()` where possible This replaces `if (i.len > e) i.len = e;` by `isttrim(i, e)`.