summaryrefslogtreecommitdiff
path: root/www/apache20/files/patch-modules__proxy__proxy_ftp.c
blob: e772648804f75e2815c56147479b67e1dd26c48b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./modules/proxy/proxy_ftp.c.orig	2010-05-13 19:18:50.000000000 +0000
+++ ./modules/proxy/proxy_ftp.c	2010-10-21 05:40:53.660623887 +0000
@@ -426,11 +426,11 @@
         int found = 0;
         int eos = 0;
 
-        regex_t *re = NULL;
-        regmatch_t re_result[LS_REG_MATCH];
+        ap_regex_t *re = NULL;
+        ap_regmatch_t re_result[LS_REG_MATCH];
 
         /* Compile the output format of "ls -s1" as a fallback for non-unix ftp listings */
-        re = ap_pregcomp(p, LS_REG_PATTERN, REG_EXTENDED);
+        re = ap_pregcomp(p, LS_REG_PATTERN, AP_REG_EXTENDED);
         ap_assert(re != NULL);
 
         /* get a complete line */