mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04:00
MINOR: init: report use of libslz instead of "no compression"
It's confusing to see "no zlib support" followed by supported compression algorithms. Fix this.
This commit is contained in:
parent
a5c51ac6a6
commit
86ac176e03
1 changed files with 3 additions and 1 deletions
|
|
@ -288,8 +288,10 @@ void display_build_opts()
|
|||
|
||||
#ifdef USE_ZLIB
|
||||
printf("Built with zlib version : " ZLIB_VERSION "\n");
|
||||
#elif defined(USE_SLZ)
|
||||
printf("Built with libslz for stateless compression.\n");
|
||||
#else /* USE_ZLIB */
|
||||
printf("Built without zlib support (USE_ZLIB not set)\n");
|
||||
printf("Built without compression support (neither USE_ZLIB nor USE_SLZ are set)\n");
|
||||
#endif
|
||||
printf("Compression algorithms supported :");
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue