From fca3fd62ae3c8a46effbd2807d775a87a86dcc6a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Dec 2022 13:03:57 +0800 Subject: [PATCH] 1 --- server/gameserver/GGListener.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/gameserver/GGListener.cc b/server/gameserver/GGListener.cc index 6ee14166..c955ad6b 100644 --- a/server/gameserver/GGListener.cc +++ b/server/gameserver/GGListener.cc @@ -77,8 +77,7 @@ public: a8::Args ( { - socket_handle, - 1 + socket_handle } )); } @@ -119,10 +118,8 @@ void GGListener::Init() (IM_GGListenerError, [] (const a8::Args& args) { - // 777 - #if 0 - GGListener::Instance()->OnListenError(param.param1); - #endif + int error_id = args.Get(0); + GGListener::Instance()->OnListenError(error_id); }); }