Fixed strlower changes I missed. Pointed out by metze.
authorJeremy Allison <jra@samba.org>
Fri, 4 Jul 2003 18:50:21 +0000 (18:50 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 4 Jul 2003 18:50:21 +0000 (18:50 +0000)
Jeremy
(This used to be commit da5ee2b765fc321b14e92eb27bde8ec8930b61d4)

source3/auth/pampass.c
source3/torture/masktest.c

index 045ceb7c7297a74d5417d7e2af67985cba366377..d666e439b0dc1c742bafdf1d2ff29600c9785e56 100644 (file)
@@ -229,7 +229,7 @@ static struct chat_struct *make_pw_chat(char *p)
 
                special_char_sub(prompt);
                fstrcpy(t->prompt, prompt);
-               strlower(t->prompt);
+               strlower_m(t->prompt);
                trim_string(t->prompt, " ", " ");
 
                if (!next_token(&p, reply, NULL, sizeof(fstring)))
@@ -240,7 +240,7 @@ static struct chat_struct *make_pw_chat(char *p)
 
                special_char_sub(reply);
                fstrcpy(t->reply, reply);
-               strlower(t->reply);
+               strlower_m(t->reply);
                trim_string(t->reply, " ", " ");
 
        }
index 06dead3f16f26a70e2e3a745ff88a2621e74e54f..fa901e3d63d4067ea54f410cbf89f9f0dd8c9a8f 100644 (file)
@@ -279,9 +279,9 @@ static void get_real_name(struct cli_state *cli,
        }
        if (f_info) {
                fstrcpy(short_name, f_info->short_name);
-               strlower(short_name);
+               strlower_m(short_name);
                pstrcpy(long_name, f_info->name);
-               strlower(long_name);
+               strlower_m(long_name);
        }
 
        if (*short_name == 0) {