nghttp2_hd: Fix crash

This commit is contained in:
Tatsuhiro Tsujikawa 2013-11-03 17:46:10 +09:00
parent 785ea36046
commit 2d08d30409
1 changed files with 1 additions and 1 deletions

View File

@ -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;