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 {
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 {