summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/pampass.c4
-rw-r--r--source3/torture/masktest.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 045ceb7c72..d666e439b0 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -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, " ", " ");
}
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 06dead3f16..fa901e3d63 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -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) {