]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: http-fetch: Adjust smp_fetch_url32_src() comment
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 4 May 2026 15:44:11 +0000 (17:44 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2026 16:36:04 +0000 (18:36 +0200)
smp_fetch_base32() function was referenced instead of
smp_fetch_url32(). Let's fix it.

src/http_fetch.c

index 830f65fd32a8e437239f4f97edc9f564e849bf30..d9aa3877f387fedccbd95b87124d34897f751ddb 100644 (file)
@@ -2200,7 +2200,7 @@ static int smp_fetch_url32(const struct arg *args, struct sample *smp, const cha
 }
 
 /* This concatenates the source address with the 32-bit hash of the Host and
- * URL as returned by smp_fetch_base32(). The idea is to have per-source and
+ * URL as returned by smp_fetch_url32(). The idea is to have per-source and
  * per-url counters. The result is a binary block from 8 to 20 bytes depending
  * on the source address length. The URL hash is stored before the address so
  * that in environments where IPv6 is insignificant, truncating the output to