summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2003-04-27 18:44:31 +0000
committerBen Lindstrom <mouring@eviladmin.org>2003-04-27 18:44:31 +0000
commitf50ad1fd04fa23af4968f406c5993869f0aeee61 (patch)
tree8da4811ab1685721bbda3cbb82c0d599e88d784d
parent683036ee2c4d08c6ef5ca92050dc62f9ac657379 (diff)
- (bal) auth2.c same changed as above.
-rw-r--r--ChangeLog3
-rw-r--r--auth2.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c4348ab0..0e9fc354 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
- (bal) Since we don't support platforms lacking u_int_64. We may
as well clean out some of those evil #ifdefs
- (bal) auth1.c minor resync while looking at the code.
+ - (bal) auth2.c same changed as above.
20030409
- (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report
@@ -1344,4 +1345,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@
-$Id: ChangeLog,v 1.2661 2003/04/27 18:41:30 mouring Exp $
+$Id: ChangeLog,v 1.2662 2003/04/27 18:44:31 mouring Exp $
diff --git a/auth2.c b/auth2.c
index cfaac5f7..9c491996 100644
--- a/auth2.c
+++ b/auth2.c
@@ -238,9 +238,8 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method)
/* now we can break out */
authctxt->success = 1;
} else {
- if (authctxt->failures++ > AUTH_FAIL_MAX) {
+ if (authctxt->failures++ > AUTH_FAIL_MAX)
packet_disconnect(AUTH_FAIL_MSG, authctxt->user);
- }
#ifdef _UNICOS
if (strcmp(method, "password") == 0)
cray_login_failure(authctxt->user, IA_UDBERR);