projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7673742
)
net.websocket.frames: Fix syntax error due to code copy pasting
author
Kim Alvefur
<zash@zash.se>
Tue, 6 Oct 2015 16:08:58 +0000
(18:08 +0200)
committer
Kim Alvefur
<zash@zash.se>
Tue, 6 Oct 2015 16:08:58 +0000
(18:08 +0200)
net/websocket/frames.lua
patch
|
blob
|
history
diff --git
a/net/websocket/frames.lua
b/net/websocket/frames.lua
index 95e41479479cde2503697af54bc38767edd417bd..737f46bbffedb2e7aa0f9d077eda720f7106a8fe 100644
(file)
--- 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