Merge branch 'scan-build' of https://github.com/alagoutte/nghttp2 into alagoutte-scan-build

This commit is contained in:
Tatsuhiro Tsujikawa 2015-05-16 02:15:38 +09:00
commit 14f971d71f
1 changed files with 2 additions and 2 deletions

View File

@ -1114,8 +1114,8 @@ void test_nghttp2_session_recv_premature_headers(void) {
nghttp2_hd_deflate_init(&deflater, mem); nghttp2_hd_deflate_init(&deflater, mem);
rv = pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv, pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv,
ARRLEN(reqnv), mem); ARRLEN(reqnv), mem);
buf = &bufs.head->buf; buf = &bufs.head->buf;
/* Intentionally feed payload cutting last 1 byte off */ /* Intentionally feed payload cutting last 1 byte off */