diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/correct_password.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libbb/correct_password.c')
-rw-r--r-- | libbb/correct_password.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/correct_password.c b/libbb/correct_password.c index 396253614..1da83c441 100644 --- a/libbb/correct_password.c +++ b/libbb/correct_password.c | |||
@@ -49,14 +49,14 @@ | |||
49 | int correct_password ( const struct passwd *pw ) | 49 | int correct_password ( const struct passwd *pw ) |
50 | { | 50 | { |
51 | char *unencrypted, *encrypted, *correct; | 51 | char *unencrypted, *encrypted, *correct; |
52 | 52 | ||
53 | #ifdef CONFIG_FEATURE_SHADOWPASSWDS | 53 | #ifdef CONFIG_FEATURE_SHADOWPASSWDS |
54 | if (( strcmp ( pw-> pw_passwd, "x" ) == 0 ) || ( strcmp ( pw-> pw_passwd, "*" ) == 0 )) { | 54 | if (( strcmp ( pw-> pw_passwd, "x" ) == 0 ) || ( strcmp ( pw-> pw_passwd, "*" ) == 0 )) { |
55 | struct spwd *sp = getspnam ( pw-> pw_name ); | 55 | struct spwd *sp = getspnam ( pw-> pw_name ); |
56 | 56 | ||
57 | if ( !sp ) | 57 | if ( !sp ) |
58 | bb_error_msg_and_die ( "no valid shadow password" ); | 58 | bb_error_msg_and_die ( "no valid shadow password" ); |
59 | 59 | ||
60 | correct = sp-> sp_pwdp; | 60 | correct = sp-> sp_pwdp; |
61 | } | 61 | } |
62 | else | 62 | else |