httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r731594 - /httpd/httpd/trunk/modules/filters/mod_ext_filter.c
Date Mon, 05 Jan 2009 15:13:25 GMT
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 {



Mime
View raw message