]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: cli/threads: fix build in single-threaded mode
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Apr 2019 16:54:10 +0000 (18:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Apr 2019 16:55:31 +0000 (18:55 +0200)
commite61828449c6e8c9594befbe1839956ea612c8331
tree578d34a72d86ba55a586a1bb5694faed215094b9
parent3466e3cdcbdd637c54cc8d3090007f5c0a23ea03
BUILD: cli/threads: fix build in single-threaded mode

Commit a8f57d51a ("MINOR: cli/activity: report the accept queue sizes
in "show activity"") broke the single-threaded build because the
accept-rings are not implemented there. Let's ifdef this out. Ideally
we should start to think about always having such elements initialized
even without threads to improve the test coverage.
src/cli.c