- (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.

This commit is contained in:
Tim Rice 2010-08-12 10:33:01 -07:00
parent 722b8d14f1
commit ad7d547acd
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
tests would fail because the pidfile could not be read by a regular user.
"cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
Make sure cat is run by $SUDO. no objection from me. djm@
- (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.
20100809
- (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it is

2
auth.c
View File

@ -143,7 +143,7 @@ allowed_user(struct passwd * pw)
locked = 1;
#endif
#ifdef USE_LIBIAF
free(passwd);
free((void *) passwd);
#endif /* USE_LIBIAF */
if (locked) {
logit("User %.100s not allowed because account is locked",