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:
Willy Tarreau 2015-10-13 16:46:28 +02:00
parent a5c51ac6a6
commit 86ac176e03

View File

@ -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 :");
{