diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index eab61814..808cd75b 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -92,7 +92,7 @@ nxt_http_request_create(nxt_task_t *task) } r->resp.fields = nxt_list_create(mp, 8, sizeof(nxt_http_field_t)); - if (nxt_slow_path(r == NULL)) { + if (nxt_slow_path(r->resp.fields == NULL)) { goto fail; } |