diff options
author | Igor Sysoev <igor@sysoev.ru> | 2019-01-18 16:18:36 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2019-01-18 16:18:36 +0300 |
commit | 23a6a8e45177a88f36e6b860a2db4848a9e3eada (patch) | |
tree | 365f0a5c76ef5201e724c8a854e9b20cc3a4ff9f /src/nxt_http_error.c | |
parent | 819360122601b45c0fb0f75258b8b78bc1441ff9 (diff) | |
download | unit-23a6a8e45177a88f36e6b860a2db4848a9e3eada.tar.gz unit-23a6a8e45177a88f36e6b860a2db4848a9e3eada.tar.bz2 |
Testing correct value.
Diffstat (limited to 'src/nxt_http_error.c')
-rw-r--r-- | src/nxt_http_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_error.c b/src/nxt_http_error.c index 65f8ba38..99d27903 100644 --- a/src/nxt_http_error.c +++ b/src/nxt_http_error.c @@ -37,7 +37,7 @@ nxt_http_request_error(nxt_task_t *task, nxt_http_request_t *r, r->status = status; r->resp.fields = nxt_list_create(r->mem_pool, 8, sizeof(nxt_http_field_t)); - if (nxt_slow_path(r == NULL)) { + if (nxt_slow_path(r->resp.fields == NULL)) { goto fail; } |