From bf2da8a3d7f04bf5ffcdce8fd4c334d5421d3494 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 9 Nov 2025 22:34:50 +0800 Subject: format core --- core/src/xmake/io/socket_kill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/xmake/io/socket_kill.c') diff --git a/core/src/xmake/io/socket_kill.c b/core/src/xmake/io/socket_kill.c index 63e110257..33d36ef18 100644 --- a/core/src/xmake/io/socket_kill.c +++ b/core/src/xmake/io/socket_kill.c @@ -39,8 +39,9 @@ tb_int_t xm_io_socket_kill(lua_State *lua) { tb_assert_and_check_return_val(lua, 0); // is pointer? - if (!xm_lua_ispointer(lua, 1)) + if (!xm_lua_ispointer(lua, 1)) { return 0; + } // get socket tb_socket_ref_t sock = (tb_socket_ref_t)xm_lua_topointer(lua, 1); -- cgit v1.3.1