Skip to content

Commit 34a0a7c

Browse files
Darleletcapflam
authored andcommitted
CLEANUP: log/proxy: fix comment in proxy_free_common()
Thanks to previous commit, logformat expressions for default proxies are also postchecked, adjusting a comment that suggests it's not the case. (cherry picked from commit c6931a4) Signed-off-by: Christopher Faulet <[email protected]>
1 parent a13b459 commit 34a0a7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/proxy.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ static inline void proxy_free_common(struct proxy *px)
247247
}
248248

249249
/* ensure that remaining lf_expr that were not postchecked (ie: disabled
250-
* or default proxy) don't keep a reference on the proxy which is about
251-
* to be freed.
250+
* proxy) don't keep a reference on the proxy which is about to be freed.
252251
*/
253252
list_for_each_entry_safe(lf, lfb, &px->conf.lf_checks, list)
254253
LIST_DEL_INIT(&lf->list);

0 commit comments

Comments
 (0)