You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2009/01/05 16:13:25 UTC
svn commit: r731594 - /httpd/httpd/trunk/modules/filters/mod_ext_filter.c
Author: niq
Date: Mon Jan 5 07:13:25 2009
New Revision: 731594
URL: http://svn.apache.org/viewvc?rev=731594&view=rev
Log:
mod_ext_filter: fix test for onfail behaviour
(accidentally omitted from r731388)
Modified:
httpd/httpd/trunk/modules/filters/mod_ext_filter.c
Modified: httpd/httpd/trunk/modules/filters/mod_ext_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_ext_filter.c?rev=731594&r1=731593&r2=731594&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_ext_filter.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_ext_filter.c Mon Jan 5 07:13:25 2009
@@ -873,9 +873,9 @@
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"can't initialise output filter %s: %s",
f->frec->name,
- ctx->dc->onfail ? "removing" : "aborting");
+ (ctx->dc->onfail == 1) ? "removing" : "aborting");
ap_remove_output_filter(f);
- if (ctx->dc->onfail) {
+ if (ctx->dc->onfail == 1) {
return ap_pass_brigade(f->next, bb);
}
else {
@@ -926,9 +926,9 @@
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r,
"can't initialise input filter %s: %s",
f->frec->name,
- ctx->dc->onfail ? "removing" : "aborting");
+ (ctx->dc->onfail == 1) ? "removing" : "aborting");
ap_remove_input_filter(f);
- if (ctx->dc->onfail) {
+ if (ctx->dc->onfail == 1) {
return ap_get_brigade(f->next, bb, mode, block, readbytes);
}
else {