Skip to content

Commit

Permalink
fix for correct assert
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1691374 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jimjag committed Jul 16, 2015
1 parent 5ab7b52 commit 68995a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/http2/h2_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 68995a3

Please sign in to comment.