# HG changeset patch # User Kim Alvefur # Date 1444147738 -7200 # Node ID 44a7e9152b9a73d44ab98b1a8d6941f7f4e2c17f # Parent 5f3da8b00b9be3eb83c759cf3ac98be4683405b4 net.websocket.frames: Fix syntax error due to code copy pasting diff -r 5f3da8b00b9b -r 44a7e9152b9a net/websocket/frames.lua --- a/net/websocket/frames.lua Tue Oct 06 18:05:27 2015 +0200 +++ b/net/websocket/frames.lua Tue Oct 06 18:08:58 2015 +0200 @@ -49,8 +49,8 @@ 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