diff options
Diffstat (limited to 'www/apache20/files/patch-server__util_pcre.c')
-rw-r--r-- | www/apache20/files/patch-server__util_pcre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache20/files/patch-server__util_pcre.c b/www/apache20/files/patch-server__util_pcre.c index fb610f1a8821..c47d1a4f1bbb 100644 --- a/www/apache20/files/patch-server__util_pcre.c +++ b/www/apache20/files/patch-server__util_pcre.c @@ -142,13 +142,13 @@ + +if (preg->re_pcre == NULL) return AP_REG_INVARG; + -+preg->re_nsub = pcre_info((const pcre *)preg->re_pcre, NULL, NULL); ++pcre_fullinfo((const pcre *)preg->re_pcre, NULL, ++ PCRE_INFO_CAPTURECOUNT, &(preg->re_nsub)); +return 0; +} + + + -+ +/************************************************* +* Match a regular expression * +*************************************************/ |