mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
modify Makefile and add lua clean
modify service-src/service_gate.c space to tab
This commit is contained in:
1
Makefile
1
Makefile
@@ -131,5 +131,6 @@ clean :
|
||||
|
||||
cleanall: clean
|
||||
cd 3rd/jemalloc && $(MAKE) clean
|
||||
cd 3rd/lua && $(MAKE) clean
|
||||
rm -f $(LUA_STATICLIB)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user