BUG/MINOR: displayed PCRE version is running release

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.
This commit is contained in:
Lukas Tribus 2016-09-12 21:42:00 +00:00 committed by Willy Tarreau
parent 83b0a17678
commit d64788d9c6

View 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
{