You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/05 22:12:58 UTC

svn commit: r601528 - /httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c

Author: wrowe
Date: Wed Dec  5 13:12:55 2007
New Revision: 601528

URL: http://svn.apache.org/viewvc?rev=601528&view=rev
Log:
Group <directory> directives to the end of the cmd table

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=601528&r1=601527&r2=601528&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c Wed Dec  5 13:12:55 2007
@@ -843,10 +843,6 @@
 static const command_rec ftp_cmds[] = {
     AP_INIT_FLAG("FTP", ftp_enable, NULL, RSRC_CONF,
                  "Run an FTP server on this host"),
-    AP_INIT_TAKE1("FTPUmask", ftp_umask, NULL, OR_FILEINFO,
-                  "Set the umask for created files"),
-    AP_INIT_TAKE1("FTPDirUmask", ftp_dirumask, NULL, OR_FILEINFO,
-                  "Set the umask for created directory"),
     AP_INIT_TAKE1("FTPTimeoutLogin", ftp_set_int_slot,
                   (void *)APR_OFFSETOF(ftp_server_config,
                                          timeout_login), RSRC_CONF,
@@ -893,8 +889,6 @@
                  "Users are not allowed to leave their home directories"),
     AP_INIT_TAKE12("FTPActiveRange", ftp_set_active_ports, NULL, RSRC_CONF,
                    "Ports the server will use for connecting to the client."),
-    AP_INIT_TAKE1("FTPReadmeMessage", ftp_set_readme_message, NULL, OR_ALL,
-                  "Set per-directory Readme file"),
     AP_INIT_TAKE1("FTPLimitLoginUser", ftp_set_limit_peruser, NULL, RSRC_CONF,
                   "Set the maximum number of concurrent logins per user"),
     AP_INIT_TAKE1("FTPLimitLoginIP", ftp_set_limit_perip, NULL, RSRC_CONF,
@@ -907,6 +901,12 @@
                   (void *)APR_OFFSETOF(ftp_server_config,
                                          data_block_size), RSRC_CONF,
                   "Block size in bytes to use during data transfers"),
+    AP_INIT_TAKE1("FTPReadmeMessage", ftp_set_readme_message, NULL, OR_ALL,
+                  "Set per-directory Readme file"),
+    AP_INIT_TAKE1("FTPUmask", ftp_umask, NULL, OR_FILEINFO,
+                  "Set the umask for created files"),
+    AP_INIT_TAKE1("FTPDirUmask", ftp_dirumask, NULL, OR_FILEINFO,
+                  "Set the umask for created directory"),
     {NULL}
 };