]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: fcgi: fix the struct name of fcgi_flt_ctx
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 14:25:00 +0000 (16:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 14:27:05 +0000 (16:27 +0200)
The struct was mistakenly spelled flt_fcgi_ctx() in fcgi_flt_stop()
when it was introduced in 2.1 with commit 78fbb9f991 ("MEDIUM:
fcgi-app: Add FCGI application and filter"), causing build issues
when trying to get the alignment of the object in pool_free() for
debugging purposes. No backport is needed as it's just used to convey
a pointer.

src/fcgi-app.c

index 8bddd1c29b1b6f0b1f909eb430c9d8ab2c2b679a..ae3a79153f5852a26c191f6b2e11904957a9d145 100644 (file)
@@ -290,7 +290,7 @@ static int fcgi_flt_start(struct stream *s, struct filter *filter)
 
 static void fcgi_flt_stop(struct stream *s, struct filter *filter)
 {
-       struct flt_fcgi_ctx *fcgi_ctx = filter->ctx;
+       struct fcgi_flt_ctx *fcgi_ctx = filter->ctx;
 
        if (!fcgi_ctx)
                return;