summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-05-01 18:47:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-05-01 18:47:07 +0000
commita62de6854a68124d70fa76cf286cef032c86d6f3 (patch)
treef3f160a6f4bdf679d6c03e4daaa40f227b1cf38d /usr.bin/passwd
parent052b39bb1320091d89f0a64d5ba2a3a35543eaf5 (diff)
spacing
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/local_passwd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c
index edad2f65b6c..7125e10d906 100644
--- a/usr.bin/passwd/local_passwd.c
+++ b/usr.bin/passwd/local_passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: local_passwd.c,v 1.36 2004/12/20 15:05:59 moritz Exp $ */
+/* $OpenBSD: local_passwd.c,v 1.37 2005/05/01 18:47:06 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -31,7 +31,7 @@
#ifndef lint
/*static const char sccsid[] = "from: @(#)local_passwd.c 5.5 (Berkeley) 5/6/91";*/
-static const char rcsid[] = "$OpenBSD: local_passwd.c,v 1.36 2004/12/20 15:05:59 moritz Exp $";
+static const char rcsid[] = "$OpenBSD: local_passwd.c,v 1.37 2005/05/01 18:47:06 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -188,8 +188,8 @@ getnewpasswd(struct passwd *pw, login_cap_t *lc, int authenticated)
continue;
}
- if ((tries++ < pwd_tries || pwd_tries == 0)
- && pwd_check(lc, p) == 0)
+ if ((tries++ < pwd_tries || pwd_tries == 0) &&
+ pwd_check(lc, p) == 0)
continue;
strlcpy(buf, p, sizeof(buf));
p = getpass("Retype new password:");