httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r351997 - /httpd/httpd/trunk/server/core_filters.c
Date Sat, 03 Dec 2005 18:22:27 GMT
Author: pquerna
Date: Sat Dec  3 10:22:25 2005
New Revision: 351997

URL: http://svn.apache.org/viewcvs?rev=351997&view=rev
Log:
Only define sendfile_nonblocking if APR_HAS_SENDFILE is true.

Modified:
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/core_filters.c?rev=351997&r1=351996&r2=351997&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Sat Dec  3 10:22:25 2005
@@ -715,6 +715,8 @@
     }
 }
 
+#if APR_HAS_SENDFILE
+
 static apr_status_t sendfile_nonblocking(apr_socket_t *s,
                                          apr_bucket_brigade *bb,
                                          apr_size_t *cumulative_bytes_written,
@@ -777,3 +779,4 @@
     return rv;
 }
 
+#endif



Mime
View raw message