summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3/ngx_http_v3_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/v3/ngx_http_v3_parse.c')
-rw-r--r--src/http/v3/ngx_http_v3_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v3/ngx_http_v3_parse.c b/src/http/v3/ngx_http_v3_parse.c
index 3f676b4bb..25c1edf6d 100644
--- a/src/http/v3/ngx_http_v3_parse.c
+++ b/src/http/v3/ngx_http_v3_parse.c
@@ -638,8 +638,8 @@ ngx_http_v3_parse_literal(ngx_connection_t *c, ngx_http_v3_parse_literal_t *st,
ch = *b->pos++;
if (st->huffman) {
- if (ngx_http_v2_huff_decode(&st->huffstate, &ch, 1, &st->last,
- st->length == 1, c->log)
+ if (ngx_http_huff_decode(&st->huffstate, &ch, 1, &st->last,
+ st->length == 1, c->log)
!= NGX_OK)
{
return NGX_ERROR;