You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2007/12/07 19:58:40 UTC
svn commit: r602178 - /httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c
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;