-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:
parent
f26f9d2470
commit
2bd2de496a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user