summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_websocket.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
}