Fix another bogon.

This commit is contained in:
Poul-Henning Kamp 1996-08-06 14:29:06 +00:00
parent 4b7d97414e
commit 3cde2031c8

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ftpd.c,v 1.19 1996/08/05 00:21:14 pst Exp $
* $Id: ftpd.c,v 1.20 1996/08/06 08:43:43 phk Exp $
*/
#ifndef lint
@ -670,7 +670,7 @@ pass(passwd)
pw->pw_passwd);
pwok = 0;
#else
rval = strcmp(crypt(passwd, pw->passwd), pw->pw_passwd);
rval = strcmp(crypt(passwd, pw->pw_passwd), pw->pw_passwd);
#endif
/* The strcmp does not catch null passwords! */
if (*pw->pw_passwd == '\0' ||