From: Willy Tarreau Date: Tue, 13 Oct 2015 14:46:28 +0000 (+0200) Subject: MINOR: init: report use of libslz instead of "no compression" X-Git-Tag: v1.6.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86ac176e039a8dc7e8e99b2bb0a46e4642ddb510;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/haproxy.c b/src/haproxy.c index 62fb603cd0..3b0d14df61 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 :"); {