From: Aurelien DARRAGON Date: Wed, 29 Mar 2023 08:46:36 +0000 (+0200) Subject: MINOR: hlua_fcn: fix Server.is_draining() return type X-Git-Tag: v2.8-dev10~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=862a0fe75aa1fe9d177def42a487fdb99facc73d;p=thirdparty%2Fhaproxy.git MINOR: hlua_fcn: fix Server.is_draining() return type Adjusting Server.is_draining() return type from integer to boolean to comply with the documentation. --- diff --git a/src/hlua_fcn.c b/src/hlua_fcn.c index ed016c0b85..639a1ef010 100644 --- a/src/hlua_fcn.c +++ b/src/hlua_fcn.c @@ -1068,7 +1068,7 @@ int hlua_server_is_draining(lua_State *L) return 1; } - lua_pushinteger(L, server_is_draining(srv)); + lua_pushboolean(L, server_is_draining(srv)); return 1; }