diff options
author | Kim Alvefur <zash@zash.se> | 2015-10-06 18:08:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-10-06 18:08:58 +0200 |
commit | 68c49f314ec7bcac01bd38c456b93914d298e2d4 (patch) | |
tree | 6fd4e1c2e6ed33d158eb1e6b4ccbe779c0a10195 | |
parent | 7bff4f91287f17c1e6e6c4ba7275e325aae45f2d (diff) | |
download | prosody-68c49f314ec7bcac01bd38c456b93914d298e2d4.tar.gz prosody-68c49f314ec7bcac01bd38c456b93914d298e2d4.zip |
net.websocket.frames: Fix syntax error due to code copy pasting
-rw-r--r-- | net/websocket/frames.lua | 4 |
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 |