From b2a507bc82fefb561c386f4910ba223abed20e1e Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 29 Oct 2019 22:32:11 +0800 Subject: improve io.file and io.filelock --- core/src/xmake/io/socket_bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/xmake/io/socket_bind.c b/core/src/xmake/io/socket_bind.c index 9676d0600..f4c1c06b9 100644 --- a/core/src/xmake/io/socket_bind.c +++ b/core/src/xmake/io/socket_bind.c @@ -43,7 +43,7 @@ tb_int_t xm_io_socket_bind(lua_State* lua) // check socket if (!lua_isuserdata(lua, 1)) { - lua_pushboolean(lua, false); + lua_pushboolean(lua, tb_false); lua_pushliteral(lua, "invalid socket!"); return 2; } -- cgit v1.3.1