You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/07/16 14:10:01 UTC

svn commit: r1691374 - /httpd/httpd/trunk/modules/http2/h2_task.c

Author: jim
Date: Thu Jul 16 12:10:00 2015
New Revision: 1691374

URL: http://svn.apache.org/r1691374
Log:
fix for correct assert

Modified:
    httpd/httpd/trunk/modules/http2/h2_task.c

Modified: httpd/httpd/trunk/modules/http2/h2_task.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_task.c?rev=1691374&r1=1691373&r2=1691374&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_task.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_task.c Thu Jul 16 12:10:00 2015
@@ -53,7 +53,7 @@ static apr_status_t h2_filter_stream_inp
                                            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_inp
 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_out
 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;
     }