From 463e88b1ee6a7777d8b97893057b41404663ad41 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Thu, 16 Jul 2015 12:10:00 +0000 Subject: [PATCH] fix for correct assert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1691374 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_task.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/http2/h2_task.c b/modules/http2/h2_task.c index 1d7c4ebde7..15aae88024 100644 --- a/modules/http2/h2_task.c +++ b/modules/http2/h2_task.c @@ -53,7 +53,7 @@ static apr_status_t h2_filter_stream_input(ap_filter_t* filter, apr_read_type_e block, apr_off_t readbytes) { h2_task_env *env = filter->ctx; - AP_DEBUG_ASSERT(task); + AP_DEBUG_ASSERT(env); if (!env->input) { return APR_ECONNABORTED; } @@ -64,7 +64,7 @@ static apr_status_t h2_filter_stream_input(ap_filter_t* filter, static apr_status_t h2_filter_stream_output(ap_filter_t* filter, apr_bucket_brigade* brigade) { h2_task_env *env = filter->ctx; - AP_DEBUG_ASSERT(task); + AP_DEBUG_ASSERT(env); if (!env->output) { return APR_ECONNABORTED; } @@ -74,7 +74,7 @@ static apr_status_t h2_filter_stream_output(ap_filter_t* filter, static apr_status_t h2_filter_read_response(ap_filter_t* f, apr_bucket_brigade* bb) { h2_task_env *env = f->ctx; - AP_DEBUG_ASSERT(task); + AP_DEBUG_ASSERT(env); if (!env->output || !env->output->from_h1) { return APR_ECONNABORTED; } -- 2.40.0