httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r780008 - in /httpd/mod_ftp/trunk/modules/ftp: ftp_lowportd.c mod_ftp.c
Date Fri, 29 May 2009 15:03:02 GMT
Author: jim
Date: Fri May 29 15:03:01 2009
New Revision: 780008

URL: http://svn.apache.org/viewvc?rev=780008&view=rev
Log:
Compile-time warnings

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

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c?rev=780008&r1=780007&r2=780008&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c Fri May 29 15:03:01 2009
@@ -36,6 +36,9 @@
 #if APR_HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 
 typedef struct lowportd_req_t {
     pid_t       ppid;

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=780008&r1=780007&r2=780008&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c Fri May 29 15:03:01 2009
@@ -302,6 +302,8 @@
     return OK;
 }
 
+#if ((AP_SERVER_MAJORVERSION_NUMBER < 3) && (AP_SERVER_MINORVERSION_NUMBER <
3))
+
 /* This is something of a hack.  The idea is that we want to be able to look
  * at a string with a '*' wildcard, and a string that matches the pattern,
  * and determine which part of the second string matches the wildcard.  This
@@ -337,7 +339,6 @@
     return NULL;
 }
 
-#if ((AP_SERVER_MAJORVERSION_NUMBER < 3) && (AP_SERVER_MINORVERSION_NUMBER <
3))
 /*
  * The check_user_id hook.  This is a hack that allows us to ensure that only
  * the owner of the directory can get access to the current directory.  If the



Mime
View raw message