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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user