From 987a90af8bfda8c1c6b16546ea9dbe898dd10291 Mon Sep 17 00:00:00 2001 From: xiyanxiyan10 Date: Sat, 23 May 2015 16:35:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-src/service_gate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-src/service_gate.c b/service-src/service_gate.c index 84d11c4d..7c95703d 100644 --- a/service-src/service_gate.c +++ b/service-src/service_gate.c @@ -135,7 +135,7 @@ _ctrl(struct gate * g, const void * msg, int sz) { skynet_socket_start(ctx, g->listen_id); return; } - if (memcmp(command, "close", i) == 0) { + if (memcmp(command, "close", i) == 0) { if (g->listen_id >= 0) { skynet_socket_close(ctx, g->listen_id); g->listen_id = -1;