]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: displayed PCRE version is running release
authorLukas Tribus <luky-37@hotmail.com>
Mon, 12 Sep 2016 21:42:00 +0000 (21:42 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Sep 2016 05:55:46 +0000 (07:55 +0200)
pcre_version() returns the running PCRE release, not the release
haproxy was built with.

This simple string fix should be backported to supported releases,
as the output may be confusing.

src/haproxy.c

index 6665ba76e3afcb58681418fa4b54548d964a2333..98a6a17ee663d1e8e18c9356dd32c9f09382a604 100644 (file)
@@ -352,7 +352,7 @@ void display_build_opts()
 #endif
 
 #ifdef USE_PCRE
-       printf("Built with PCRE version : %s", pcre_version());
+       printf("Running on PCRE version : %s", pcre_version());
        printf("\nPCRE library supports JIT : ");
 #ifdef USE_PCRE_JIT
        {