Changeset

6900:44a7e9152b9a

net.websocket.frames: Fix syntax error due to code copy pasting
author Kim Alvefur <zash@zash.se>
date Tue, 06 Oct 2015 18:08:58 +0200
parents 6899:5f3da8b00b9b
children 6901:ccc452767ec6
files net/websocket/frames.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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