Testing correct value.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user