summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_unit_websocket_chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/nxt_unit_websocket_chat.c')
-rw-r--r--src/test/nxt_unit_websocket_chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/nxt_unit_websocket_chat.c b/src/test/nxt_unit_websocket_chat.c
index ecc9a243..6e274722 100644
--- a/src/test/nxt_unit_websocket_chat.c
+++ b/src/test/nxt_unit_websocket_chat.c
@@ -104,10 +104,10 @@ ws_chat_root(nxt_unit_request_info_t *req)
rc = nxt_unit_response_init(req, 200 /* Status code. */,
2 /* Number of response headers. */,
- nxt_length(CONTENT_TYPE) + 1
- + nxt_length(TEXT_HTML) + 1
- + nxt_length(CONTENT_LENGTH) + 1
- + ws_chat_index_content_length_size + 1
+ nxt_length(CONTENT_TYPE)
+ + nxt_length(TEXT_HTML)
+ + nxt_length(CONTENT_LENGTH)
+ + ws_chat_index_content_length_size
+ ws_chat_index_html_size);
if (nxt_slow_path(rc != NXT_UNIT_OK)) {
return rc;