]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: log/proxy: fix comment in proxy_free_common()
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 11 Jun 2024 08:52:37 +0000 (10:52 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 11 Jun 2024 09:00:11 +0000 (11:00 +0200)
Thanks to previous commit, logformat expressions for default proxies are
also postchecked, adjusting a comment that suggests it's not the case.

src/proxy.c

index eb39439b1522a9a9c773797a0d54f139e46414e7..3acfdf6f84a3fd8b31d7028f2503c852c79c0c5a 100644 (file)
@@ -247,8 +247,7 @@ static inline void proxy_free_common(struct proxy *px)
        }
 
        /* ensure that remaining lf_expr that were not postchecked (ie: disabled
-        * or default proxy) don't keep a reference on the proxy which is about
-        * to be freed.
+        * proxy) don't keep a reference on the proxy which is about to be freed.
         */
        list_for_each_entry_safe(lf, lfb, &px->conf.lf_checks, list)
                LIST_DEL_INIT(&lf->list);