]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: init: report use of libslz instead of "no compression"
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Oct 2015 14:46:28 +0000 (16:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Oct 2015 14:47:16 +0000 (16:47 +0200)
It's confusing to see "no zlib support" followed by supported
compression algorithms. Fix this.

src/haproxy.c

index 62fb603cd0b1382b79e9c78bce96a4f3ff36f17e..3b0d14df61b371dc10f06ce5b6db0b29fb73a054 100644 (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 :");
        {