From f888a5310c1808902b4035ca3454b62bc5cf4434 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 20 Jun 2017 19:49:17 +0300 Subject: Using new memory pool implementation. --- src/nxt_http_parse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_http_parse.h') diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index 4cf3dc3c..590101be 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -71,7 +71,7 @@ typedef struct { nxt_inline nxt_int_t -nxt_http_parse_request_init(nxt_http_request_parse_t *rp, nxt_mem_pool_t *mp) +nxt_http_parse_request_init(nxt_http_request_parse_t *rp, nxt_mp_t *mp) { rp->fields = nxt_list_create(mp, 8, sizeof(nxt_http_field_t)); if (nxt_slow_path(rp->fields == NULL)){ @@ -86,7 +86,7 @@ nxt_int_t nxt_http_parse_request(nxt_http_request_parse_t *rp, nxt_buf_mem_t *b); nxt_http_fields_hash_t *nxt_http_fields_hash_create( - nxt_http_fields_hash_entry_t *entries, nxt_mem_pool_t *mp); + nxt_http_fields_hash_entry_t *entries, nxt_mp_t *mp); nxt_http_fields_hash_entry_t *nxt_http_fields_hash_lookup( nxt_http_fields_hash_t *hash, nxt_http_field_t *field); -- cgit