From ab98b109dfab32cc285e61e2d332f29ee284338c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sun, 17 Oct 2004 16:00:02 +0000 Subject: [PATCH] style git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105502 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_filter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/experimental/mod_filter.c b/modules/experimental/mod_filter.c index bf8a1c1975f..0aaafa7bbfb 100644 --- a/modules/experimental/mod_filter.c +++ b/modules/experimental/mod_filter.c @@ -82,21 +82,21 @@ static void filter_trace(apr_pool_t *pool, int debug, const char *fname, static int filter_init(ap_filter_t *f) { ap_filter_provider_t *p; - int err = OK; + int err; ap_filter_rec_t *filter = f->frec; f->ctx = apr_pcalloc(f->r->pool, sizeof(harness_ctx)); for (p = filter->providers; p; p = p->next) { if (p->frec->filter_init_func) { - if (err = p->frec->filter_init_func(f), err != OK) { + if ((err = p->frec->filter_init_func(f)) != OK) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, f->r, "filter_init for %s failed", p->frec->name); - break; /* if anyone errors out here, so do we */ + return err; /* if anyone errors out here, so do we */ } } } - return err; + return OK; } static ap_out_filter_func filter_lookup(request_rec *r, ap_filter_rec_t *filter) -- 2.47.3