summaryrefslogtreecommitdiffstats
path: root/modules/debugging
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-02-03 20:48:01 +0100
committerStefan Fritsch <sf@apache.org>2012-02-03 20:48:01 +0100
commitd79b3c1513cb6052ba5ee80ecf7bd957b4ae02b0 (patch)
tree556dca6d1f828c8e24ea838de7fd0e9ea3a313cd /modules/debugging
parentFix PR52402. Check if the shared memory was already created for this proxy_se... (diff)
downloadapache2-d79b3c1513cb6052ba5ee80ecf7bd957b4ae02b0.tar.xz
apache2-d79b3c1513cb6052ba5ee80ecf7bd957b4ae02b0.zip
Fix various filter functions to return apr_status_t instead of int
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1240315 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/debugging')
-rw-r--r--modules/debugging/mod_firehose.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/debugging/mod_firehose.c b/modules/debugging/mod_firehose.c
index 6d5ae30c59..7400601f8a 100644
--- a/modules/debugging/mod_firehose.c
+++ b/modules/debugging/mod_firehose.c
@@ -260,8 +260,11 @@ static apr_status_t pumpit(ap_filter_t *f, apr_bucket *b, firehose_ctx_t *ctx)
return rv;
}
-static int firehose_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
- ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
+static apr_status_t firehose_input_filter(ap_filter_t *f,
+ apr_bucket_brigade *bb,
+ ap_input_mode_t mode,
+ apr_read_type_e block,
+ apr_off_t readbytes)
{
apr_bucket *b;
apr_status_t rv;
@@ -297,7 +300,8 @@ static int firehose_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
return APR_SUCCESS;
}
-static int firehose_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
+static apr_status_t firehose_output_filter(ap_filter_t *f,
+ apr_bucket_brigade *bb)
{
apr_bucket *b;
apr_status_t rv = APR_SUCCESS;