summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_websocket.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_websocket.c
parentec0d5c928efcfb2d4958246d686718cb9747f722 (diff)
downloadunit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.gz
unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.bz2
Style fixes.
Diffstat (limited to 'src/nxt_websocket.c')
-rw-r--r--src/nxt_websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_websocket.c b/src/nxt_websocket.c
index 9a099760..91002237 100644
--- a/src/nxt_websocket.c
+++ b/src/nxt_websocket.c
@@ -19,7 +19,7 @@ nxt_inline void
nxt_hton16(uint8_t *b, uint16_t v)
{
b[0] = (v >> 8);
- b[1] = (v & 0xFFu);
+ b[1] = (v & 0xFFu);
}