diff --git a/src/hlua.c b/src/hlua.c index aeb0e2d44..3b87aa94f 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -2497,6 +2497,7 @@ __LJMP static int hlua_socket_settimeout(struct lua_State *L) s->res.wto = tmout; xref_unlock(&socket->xref, peer); + lua_pushinteger(L, 1); return 1; }