]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: sample: use iststop instead of a for loop
authorJerome Magnin <jmagnin@haproxy.com>
Fri, 21 Feb 2020 09:49:12 +0000 (10:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Feb 2020 10:53:18 +0000 (11:53 +0100)
commit4fb196c1d631fbf67b264388760f82498c102e2e
treea845a55a5562fb86c1b9d140bf9d71411f27d9ad
parent4bbc9494b75b6f987c813546c1fa79a5e883a188
CLEANUP: sample: use iststop instead of a for loop

In sample_fetch_path we can use iststop() instead of a for loop
to find the '?' and return the correct length. This requires commit
"MINOR: ist: add an iststop() function".
src/http_fetch.c