summaryrefslogtreecommitdiff
path: root/auth2.c
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 /auth2.c
parent683036ee2c4d08c6ef5ca92050dc62f9ac657379 (diff)
downloadopenssh-git-f50ad1fd04fa23af4968f406c5993869f0aeee61.tar.gz
- (bal) auth2.c same changed as above.
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c3
1 files changed, 1 insertions, 2 deletions
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);