summaryrefslogtreecommitdiffstats
path: root/redhat/tdeadmin/bp004-1f719050.diff
blob: 97e90ba306656beed69708273428cf3d64f08070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
commit 1f71905047d874cdc6c63049e566a4d7b976b0fc
Author: Timothy Pearson <[email protected]>
Date:   1327530712 -0600

    Fix linear alphabet string errors

diff --git a/kcron/ctcron.cpp b/kcron/ctcron.cpp
index e470a72..f5cb04c 100644
--- a/kcron/ctcron.cpp
+++ b/kcron/ctcron.cpp
@@ -178,7 +178,7 @@ istream& operator >> (istream& inputStream, CTCron& cron)
     if ((line.find("#") == 0) && (line.find("\\") != 1))
     {
       // If the first 10 characters don't contain a character, it's probably a disabled entry.
-      int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ");
+      int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
       if (first_text < 0)
          continue;
 
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++ ) {