From ac4886ddffaef24ea7b8ef67972d785ec1e4c875 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 2 Sep 2005 13:52:55 +0000 Subject: [PATCH] MFH --- sapi/apache2handler/sapi_apache2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 6fd3dae561..78d4fdfa9b 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -538,7 +538,7 @@ normal: } else { parent_req = ctx->r; /* check if comming due to ErrorDocument */ - if (parent_req != HTTP_OK) { + if (parent_req && parent_req->status != HTTP_OK) { parent_req = NULL; goto normal; } -- 2.40.0