-Clarification of last commit-

The char that the random letters and numbers are being pulled from is
ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of
possible characters. This patch decrements by one the size so we don't
accidently end the new password prematurly.
This commit is contained in:
Bill Fumerola 1999-01-04 14:07:53 +00:00
parent 19d108e89e
commit 9fb99cddfc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42287

View File

@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: pw_user.c,v 1.23 1997/10/10 06:23:39 charnier Exp $";
"$Id: pw_user.c,v 1.24 1999/01/02 04:37:46 billf Exp $";
#endif /* not lint */
#include <ctype.h>