aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-10-06 18:08:58 +0200
committerKim Alvefur <zash@zash.se>2015-10-06 18:08:58 +0200
commitb75d87f63d7b0ccbdbdc1e20bac5b4759caaf494 (patch)
tree6fd4e1c2e6ed33d158eb1e6b4ccbe779c0a10195
parent0ce785a39ce22e4150c354a4ff4aec26ed6711a4 (diff)
downloadprosody-b75d87f63d7b0ccbdbdc1e20bac5b4759caaf494.tar.gz
prosody-b75d87f63d7b0ccbdbdc1e20bac5b4759caaf494.zip
net.websocket.frames: Fix syntax error due to code copy pasting
-rw-r--r--net/websocket/frames.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/websocket/frames.lua b/net/websocket/frames.lua
index 95e41479..737f46bb 100644
--- a/net/websocket/frames.lua
+++ b/net/websocket/frames.lua
@@ -49,8 +49,8 @@ local function get_byte(x, n)
end
local function pack_uint64be(x)
local h = band(x / 2^32, 2^32-1);
- return s_char(get_byte(h, 24), get_byte(h, 16), get_byte(h, 8), band(h, 0xFF));
- get_byte(x, 24), get_byte(x, 16), get_byte(x, 8), band(x, 0xFF);
+ return s_char(get_byte(h, 24), get_byte(h, 16), get_byte(h, 8), band(h, 0xFF),
+ get_byte(x, 24), get_byte(x, 16), get_byte(x, 8), band(x, 0xFF));
end
if s_pack then