]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: halog: misleading indentation in halog.c
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Sep 2025 13:58:49 +0000 (15:58 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Sep 2025 14:01:50 +0000 (16:01 +0200)
commitf1f5877ce1e7d162045b425b53de382ab9ee217e
tree25557b10a7b41c2883256205badcba8e9bc732fd
parent54f53bc8756af503e6ca521a95d85dbeded1aedf
BUILD: halog: misleading indentation in halog.c

admin/halog/halog.c: In function 'filter_count_url':
admin/halog/halog.c:1685:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
 1685 |         if (unlikely(!ustat))
      |         ^~
admin/halog/halog.c:1687:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1687 |                 if (unlikely(!ustat)) {
      |                 ^~

This patch fixes the indentation.

Must be backported where fbd0fb20a22 ("BUG/MINOR: halog: Add OOM checks
for calloc() in filter_count_srv_status() and filter_count_url()") was
backported.
admin/halog/halog.c