You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_ftp-commits@incubator.apache.org by wr...@apache.org on 2006/10/13 01:11:57 UTC

svn commit: r463541 - /incubator/mod_ftp/trunk/modules/ftp/mod_ftp.c

Author: wrowe
Date: Thu Oct 12 18:11:56 2006
New Revision: 463541

URL: http://svn.apache.org/viewvc?view=rev&rev=463541
Log:
File 1; migrate to Apache 2.0/2.2 compatibility

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

Modified: incubator/mod_ftp/trunk/modules/ftp/mod_ftp.c
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/modules/ftp/mod_ftp.c?view=diff&rev=463541&r1=463540&r2=463541
==============================================================================
--- incubator/mod_ftp/trunk/modules/ftp/mod_ftp.c (original)
+++ incubator/mod_ftp/trunk/modules/ftp/mod_ftp.c Thu Oct 12 18:11:56 2006
@@ -869,19 +869,19 @@
     AP_INIT_TAKE1("FTPDirUmask", ftp_dirumask, NULL, RSRC_CONF,
 		  "Set the umask for created directory"),
     AP_INIT_TAKE1("FTPTimeoutLogin", ftp_set_int_slot,
-                  (void *)APR_XtOffsetOf(ftp_server_config, 
+                  (void *)APR_OFFSETOF(ftp_server_config, 
                                          timeout_login), RSRC_CONF, 
                   "Idle time allowed when logging in"),
     AP_INIT_TAKE1("FTPTimeoutIdle", ftp_set_int_slot, 
-                  (void *)APR_XtOffsetOf(ftp_server_config, 
+                  (void *)APR_OFFSETOF(ftp_server_config, 
                                          timeout_idle), RSRC_CONF, 
                   "Idle time allowed during a FTP session"),
     AP_INIT_TAKE1("FTPTimeoutData", ftp_set_int_slot, 
-                  (void *)APR_XtOffsetOf(ftp_server_config, 
+                  (void *)APR_OFFSETOF(ftp_server_config, 
                                          timeout_data), RSRC_CONF, 
                   "Idle time allowed during a data transfer"),
     AP_INIT_TAKE1("FTPMaxLoginAttempts", ftp_set_int_slot,
-                  (void *)APR_XtOffsetOf(ftp_server_config,
+                  (void *)APR_OFFSETOF(ftp_server_config,
                                          max_login_attempts), RSRC_CONF, 
 		  "Maximum number of login attempts"),
     AP_INIT_FLAG("FTPImplicitSSL", ftp_implicit_ssl, NULL, RSRC_CONF, 
@@ -921,7 +921,7 @@
     AP_INIT_TAKE1("FTPLimitDBFile", ftp_set_dbfile, NULL, RSRC_CONF,
                   "Set the location for the Login Limit DB file"),
     AP_INIT_TAKE1("FTPDataBlockSize", ftp_set_int_slot, 
-                  (void *)APR_XtOffsetOf(ftp_server_config, 
+                  (void *)APR_OFFSETOF(ftp_server_config, 
                                          data_block_size), RSRC_CONF, 
                   "Block size in bytes to use during data transfers"),
     {NULL}