summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-10-10 19:42:41 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-10-10 19:42:41 +0300
commit09e7357b085aab4f29bdadceee112bd7a8ccf706 (patch)
treee40a03d49ffd99d436adb8715e585763aa061b59 /src/nxt_unit.c
parentec0d5c928efcfb2d4958246d686718cb9747f722 (diff)
downloadunit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.gz
unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.bz2
Style fixes.
Diffstat (limited to '')
-rw-r--r--src/nxt_unit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c
index 9ccd1fd9..8b1226f5 100644
--- a/src/nxt_unit.c
+++ b/src/nxt_unit.c
@@ -1458,7 +1458,8 @@ nxt_unit_response_realloc(nxt_unit_request_info_t *req,
goto fail;
}
- resp->piggyback_content_length = req->response->piggyback_content_length;
+ resp->piggyback_content_length =
+ req->response->piggyback_content_length;
nxt_unit_sptr_set(&resp->piggyback_content, p);
p = nxt_cpymem(p, nxt_unit_sptr_get(&req->response->piggyback_content),
@@ -1953,7 +1954,8 @@ nxt_unit_mmap_buf_send(nxt_unit_ctx_t *ctx, uint32_t stream,
if (hdr != NULL) {
m.mmap_msg.mmap_id = hdr->id;
- m.mmap_msg.chunk_id = nxt_port_mmap_chunk_id(hdr, (u_char *) buf->start);
+ m.mmap_msg.chunk_id = nxt_port_mmap_chunk_id(hdr,
+ (u_char *) buf->start);
}
nxt_unit_debug(ctx, "#%"PRIu32": send mmap: (%d,%d,%d)",