fix zsync cannot run properly in Kindle due to firewall

This commit is contained in:
chrox
2014-06-25 21:31:42 +08:00
parent 3433241c1a
commit 2773ca9386
8 changed files with 46 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ function MessageQueue:handleZMsgs(messages)
local message_size = czmq.zmsg_size(messages[1])
local command = pop_string()
DEBUG("ØMQ message", command)
if command == "ENTER" and #messages >= 4 then
if command == "ENTER" then
local id = pop_string()
local name = pop_string()
local header = pop_header()