httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r613710 - /httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c
Date Mon, 21 Jan 2008 00:54:16 GMT
Author: wrowe
Date: Sun Jan 20 16:54:14 2008
New Revision: 613710

URL: http://svn.apache.org/viewvc?rev=613710&view=rev
Log:
If this is not an ftp connection, our filters are in the way.


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=613710&r1=613709&r2=613710&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/mod_ftp.c Sun Jan 20 16:54:14 2008
@@ -257,6 +257,9 @@
 {
     ftp_connection *fc = ftp_get_module_config(r->connection->conn_config);
 
+    if (!fc)
+        return;
+
     if (fc->datasock && (fc->filter_mask & FTP_NEED_DATA_OUT)) {
         ap_add_output_filter_handle(ftp_data_out_filter_handle, fc, r,
                                     r->connection);



Mime
View raw message