From ef2da264f16810df0ebcb7c20272fc5e464e5f53 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Wed, 14 May 2014 11:55:40 +0800 Subject: [PATCH] bugfix: watchdog socket data --- service/gate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/gate.lua b/service/gate.lua index 1f3aea0b..54bb3e91 100644 --- a/service/gate.lua +++ b/service/gate.lua @@ -85,7 +85,7 @@ function MSG.data(fd, msg, sz) if agent then skynet.redirect(agent, c.client, "client", 0, msg, sz) else - skynet.send(watchdog, "lua", "socket", "data", netpack.tostring(msg, sz)) + skynet.send(watchdog, "lua", "socket", "data", fd, netpack.tostring(msg, sz)) end end