httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r602178 - /httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c
Date Fri, 07 Dec 2007 18:58:40 GMT
Author: fuankg
Date: Fri Dec  7 10:58:39 2007
New Revision: 602178

URL: http://svn.apache.org/viewvc?rev=602178&view=rev
Log:
no var declarations after function calls.

Modified:
    httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c

Modified: httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c?rev=602178&r1=602177&r2=602178&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c Fri Dec  7 10:58:39 2007
@@ -79,12 +79,11 @@
 {
     server_rec *base = s;
     const char *global_limitdbfile;
-
-    ap_add_version_component(p, FTP_SERVER_STRING);
-
     /* Fixup global values, then base server and virtual host values
      */
     ftp_server_config *fsc = ftp_get_module_config(s->module_config);
+    ap_add_version_component(p, FTP_SERVER_STRING);
+
     if (!fsc->limitdbfile)
         fsc->limitdbfile = ap_server_root_relative(p, FTP_DEFAULT_DBFILE);
     global_limitdbfile = fsc->limitdbfile;



Mime
View raw message