diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-12 18:11:58 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-12 18:11:58 +0000 |
commit | 7993d9224b6a93d1d4b1bc4fb7c64c5195073913 (patch) | |
tree | 13c3301e5154649493d1ff182398e2ae5f5144db | |
parent | f798d8fcad712436207dbb7a45e27c723497c7cf (diff) | |
download | busybox-w32-7993d9224b6a93d1d4b1bc4fb7c64c5195073913.tar.gz busybox-w32-7993d9224b6a93d1d4b1bc4fb7c64c5195073913.tar.bz2 busybox-w32-7993d9224b6a93d1d4b1bc4fb7c64c5195073913.zip |
passwd: fix indentation
git-svn-id: svn://busybox.net/trunk/busybox@16856 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | loginutils/passwd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c index c28e9b80e..bcb7f2b26 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c | |||
@@ -77,9 +77,8 @@ static char* new_password(const struct passwd *pw, uid_t myuid, int algo) | |||
77 | if (!newp) | 77 | if (!newp) |
78 | goto err_ret; | 78 | goto err_ret; |
79 | newp = xstrdup(newp); /* we are going to bb_askpass() again, so save it */ | 79 | newp = xstrdup(newp); /* we are going to bb_askpass() again, so save it */ |
80 | if (obscure(orig, newp, pw) && myuid) { | 80 | if (obscure(orig, newp, pw) && myuid) |
81 | goto err_ret; /* non-root is not allowed to have weak passwd */ | 81 | goto err_ret; /* non-root is not allowed to have weak passwd */ |
82 | } | ||
83 | 82 | ||
84 | cp = bb_askpass(0, "Retype password:"); | 83 | cp = bb_askpass(0, "Retype password:"); |
85 | if (!cp) | 84 | if (!cp) |