diff options
Diffstat (limited to 'kuser/misc.cpp')
-rw-r--r-- | kuser/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kuser/misc.cpp b/kuser/misc.cpp index 6b26a72..c16f563 100644 --- a/kuser/misc.cpp +++ b/kuser/misc.cpp @@ -135,7 +135,7 @@ void addShell(const TQString &shell) TQCString genSalt( int len ) { TQCString salt( len + 1 ); - const char * set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789./"; + const char * set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; salt[0] = set[getpid() % strlen(set)]; for( int i = 1; i < len; i++ ) { |