Commit 2d08d304 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttp2_hd: Fix crash

parent 785ea360
......@@ -460,7 +460,7 @@ static int emit_indname_header(nghttp2_hd_context *context,
if(rv != 0) {
return rv;
}
if(NGHTTP2_HD_FLAG_VALUE_GIFT) {
if(flags & NGHTTP2_HD_FLAG_VALUE_GIFT) {
return track_decode_buf(context, value);
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment