From 86ac176e039a8dc7e8e99b2bb0a46e4642ddb510 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 13 Oct 2015 16:46:28 +0200 Subject: [PATCH] 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. --- src/haproxy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/haproxy.c b/src/haproxy.c index 62fb603cd..3b0d14df6 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -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 :"); {