(failcheck): The failed argument is a bool.
This commit is contained in:
parent
f2b4efff20
commit
78c0edb7c1
@ -13,6 +13,7 @@
|
||||
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/failure.c (failcheck): The failed argument is a bool.
|
||||
* libmisc/failure.h: Likewise.
|
||||
* libmisc/failure.c (too_many_failures): too_many_failures returns
|
||||
a bool.
|
||||
* libmisc/failure.c: Add notes about unchecked return values.
|
||||
|
@ -57,7 +57,7 @@ extern void failure (uid_t, const char *, struct faillog *);
|
||||
* returns FALSE to indicate that the login should be denied even though
|
||||
* the password is valid.
|
||||
*/
|
||||
extern int failcheck (uid_t, struct faillog *, int);
|
||||
extern int failcheck (uid_t uid, struct faillog *fl, bool failed);
|
||||
|
||||
/*
|
||||
* failprint - print line of failure information
|
||||
|
Loading…
Reference in New Issue
Block a user