diff options
author | Igor Sysoev <igor@sysoev.ru> | 2019-10-10 19:42:41 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2019-10-10 19:42:41 +0300 |
commit | 09e7357b085aab4f29bdadceee112bd7a8ccf706 (patch) | |
tree | e40a03d49ffd99d436adb8715e585763aa061b59 /src/nxt_h1proto.c | |
parent | ec0d5c928efcfb2d4958246d686718cb9747f722 (diff) | |
download | unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.gz unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.bz2 |
Style fixes.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_h1proto.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index 7602e9c6..11e15af9 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -599,13 +599,15 @@ nxt_h1p_header_process(nxt_task_t *task, nxt_h1proto_t *h1p, } if (nxt_slow_path(h1p->websocket_key == NULL)) { - nxt_log(task, NXT_LOG_INFO, "h1p upgrade: bad or absent websocket key"); + nxt_log(task, NXT_LOG_INFO, + "h1p upgrade: bad or absent websocket key"); return NXT_HTTP_BAD_REQUEST; } if (nxt_slow_path(h1p->websocket_version_ok == 0)) { - nxt_log(task, NXT_LOG_INFO, "h1p upgrade: bad or absent websocket version"); + nxt_log(task, NXT_LOG_INFO, + "h1p upgrade: bad or absent websocket version"); return NXT_HTTP_UPGRADE_REQUIRED; } |