summaryrefslogtreecommitdiffstats
path: root/kuser
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-25 16:31:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-25 16:31:52 -0600
commit1f71905047d874cdc6c63049e566a4d7b976b0fc (patch)
treedc80e81a54bc58a9881906c61fd75c0675c1bccd /kuser
parent0d6a0b247bbfdb72289f25171314d93ef805271d (diff)
downloadtdeadmin-1f71905047d874cdc6c63049e566a4d7b976b0fc.tar.gz
tdeadmin-1f71905047d874cdc6c63049e566a4d7b976b0fc.zip
Fix linear alphabet string errors
Diffstat (limited to 'kuser')
-rw-r--r--kuser/misc.cpp2
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++ ) {