You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/10/19 00:06:37 UTC

svn commit: r1185902 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c

Author: sf
Date: Tue Oct 18 22:06:36 2011
New Revision: 1185902

URL: http://svn.apache.org/viewvc?rev=1185902&view=rev
Log:
add missing 'static'

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c?rev=1185902&r1=1185901&r2=1185902&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c Tue Oct 18 22:06:36 2011
@@ -363,7 +363,7 @@ typedef struct {
 /* fallback regex for ls -s1;  ($0..$2) == 3 */
 #define LS_REG_PATTERN "^ *([0-9]+) +([^ ]+)$"
 #define LS_REG_MATCH   3
-ap_regex_t *ls_regex = NULL;
+static ap_regex_t *ls_regex;
 
 static apr_status_t proxy_send_dir_filter(ap_filter_t *f,
                                           apr_bucket_brigade *in)