diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-06-27 17:27:18 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-06-27 17:27:18 +0300 |
commit | dfd3cc8c0eb7f3479ee08b5e518abd264da56a29 (patch) | |
tree | b6cdbfab23ce9ea2c498bcb0f540d4847472f067 /src/nxt_http_parse.c | |
parent | f86c80309885230df2960ef8e1db337f04b11926 (diff) | |
download | unit-dfd3cc8c0eb7f3479ee08b5e518abd264da56a29.tar.gz unit-dfd3cc8c0eb7f3479ee08b5e518abd264da56a29.tar.bz2 |
Applied nxt_pointer_to() and nxt_value_at() where possible.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c index 21d8f99c..abdb23fa 100644 --- a/src/nxt_http_parse.c +++ b/src/nxt_http_parse.c @@ -746,7 +746,7 @@ nxt_http_fields_hash_create(nxt_http_fields_hash_entry_t *entries, break; } - elt = (nxt_http_fields_hash_elt_t *) ((u_char *) elt + size); + elt = nxt_pointer_to(elt, size); } } |