net.websocket.frames: Fix syntax error due to code copy pasting
authorKim Alvefur <zash@zash.se>
Tue, 6 Oct 2015 16:08:58 +0000 (18:08 +0200)
committerKim Alvefur <zash@zash.se>
Tue, 6 Oct 2015 16:08:58 +0000 (18:08 +0200)
net/websocket/frames.lua

index 95e41479479cde2503697af54bc38767edd417bd..737f46bbffedb2e7aa0f9d077eda720f7106a8fe 100644 (file)
@@ -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