(correct_password): Correct HAVE_STRUCT_* name in #if guard

to go along with corrected autoconf test:  Reported by G Queri.
This commit is contained in:
Jim Meyering
2000-02-09 11:57:01 +00:00
parent e2cc35f086
commit d6181296dd
+1 -1
View File
@@ -275,7 +275,7 @@ static int
correct_password (const struct passwd *pw)
{
char *unencrypted, *encrypted, *correct;
#if HAVE_GETSPNAM && HAVE_STRUCT_PASSWD_SP_PWDP
#if HAVE_GETSPNAM && HAVE_STRUCT_SPWD_SP_PWDP
/* Shadow passwd stuff for SVR3 and maybe other systems. */
struct spwd *sp = getspnam (pw->pw_name);