modify ret type from int to bool (#298)

* modify ret type from int to bool

* change debug_return_int to debug_return_bool

* modify ret type
This commit is contained in:
ken
2023-08-23 22:37:09 +08:00
committed by GitHub
parent 091051125b
commit 60e5842014

View File

@@ -945,7 +945,7 @@ bool
timestamp_update(void *vcookie, struct passwd *pw)
{
struct ts_cookie *cookie = vcookie;
int ret = false;
bool ret = false;
debug_decl(timestamp_update, SUDOERS_DEBUG_AUTH);
/* Zero timeout means don't use time stamp files. */
@@ -992,7 +992,7 @@ timestamp_update(void *vcookie, struct passwd *pw)
ret = true;
done:
debug_return_int(ret);
debug_return_bool(ret);
}
/*