summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-04 18:50:21 +0000
committerJeremy Allison <jra@samba.org>2003-07-04 18:50:21 +0000
commit9bcbaeee329cf190a793085a945acb8b20635bb0 (patch)
tree813b1014e8220019a2ecd45e41fa87bbb6f609c1
parentf8b3306913429715768087009f77990b1e008f1c (diff)
downloadsamba-9bcbaeee329cf190a793085a945acb8b20635bb0.tar.gz
samba-9bcbaeee329cf190a793085a945acb8b20635bb0.tar.bz2
samba-9bcbaeee329cf190a793085a945acb8b20635bb0.zip
Fixed strlower changes I missed. Pointed out by metze.
Jeremy (This used to be commit da5ee2b765fc321b14e92eb27bde8ec8930b61d4)
-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) {