(failcheck): The failed argument is a bool.

This commit is contained in:
nekral-guest 2008-05-25 22:54:20 +00:00
parent f2b4efff20
commit 78c0edb7c1
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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